|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.microcontainer.beans.metadata.BasePolicyMetaData
public class BasePolicyMetaData
Superclass of all policies that form an application-policy. It defines the metadata common to all policies.
Field Summary | |
---|---|
protected List<BaseModuleMetaData> |
modules
the collection of the modules specified for the policy. |
Constructor Summary | |
---|---|
BasePolicyMetaData()
|
Method Summary | |
---|---|
void |
addBeans(String policyName,
List<org.jboss.beans.metadata.spi.BeanMetaData> beans,
org.jboss.beans.metadata.spi.builder.BeanMetaDataBuilder builder)
This method allows subclasses to add policy-specific metadata to the collection of BeanMetaData that is
constructed by the getBeans(String, String) method. |
List<org.jboss.beans.metadata.spi.BeanMetaData> |
getBeans(String policyName,
String beanClass)
Creates the BeanMetaData objects that will be used by the microcontainer to create and populate an
instance of the policy bean. |
List<BaseModuleMetaData> |
getModules()
Obtains the metadata of the modules that have been specified for the policy. |
void |
setModules(List<BaseModuleMetaData> modules)
Sets the metadata of the modules that have been specified for the policy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<BaseModuleMetaData> modules
Constructor Detail |
---|
public BasePolicyMetaData()
Method Detail |
---|
public List<BaseModuleMetaData> getModules()
Obtains the metadata of the modules that have been specified for the policy.
List<BaseModuleMetaData>
containing the metadata of the modules.public void setModules(List<BaseModuleMetaData> modules)
Sets the metadata of the modules that have been specified for the policy.
modules
- a List<BaseModuleMetaData>
containing the metadata to be set.public List<org.jboss.beans.metadata.spi.BeanMetaData> getBeans(String policyName, String beanClass)
Creates the BeanMetaData
objects that will be used by the microcontainer to create and populate an
instance of the policy bean.
policyName
- the name of the policy bean to be created.beanClass
- the class name of the policy bean.
List
containing all BeanMetaData
objects needed to create the policy bean and its
modules.public void addBeans(String policyName, List<org.jboss.beans.metadata.spi.BeanMetaData> beans, org.jboss.beans.metadata.spi.builder.BeanMetaDataBuilder builder)
This method allows subclasses to add policy-specific metadata to the collection of BeanMetaData
that is
constructed by the getBeans(String, String)
method.
policyName
- the name of the policy bean to be created.beans
- the collection of BeanMetaData
objects that has been created and populated by the
getBeans
method.builder
- the BeanMetaDataBuilder
used to create the BeanMetaData
objects.getBeans(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |