|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractFeatureMetaData
org.jboss.beans.metadata.plugins.AbstractBeanMetaData
Metadata for a bean.
Field Summary | |
protected String |
bean
The bean class name |
protected ConstructorMetaData |
constructor
The constructor |
protected LifecycleMetaData |
create
The create lifecycle |
protected Set |
demands
What the bean demands Set |
protected LifecycleMetaData |
destroy
The destroy lifecycle |
protected Map |
metaData
|
protected org.jboss.dependency.spi.ControllerMode |
mode
The mode |
protected String |
name
The name of this instance |
protected Set |
properties
The properties configuration Set |
protected LifecycleMetaData |
start
The start lifecycle |
protected LifecycleMetaData |
stop
The stop lifecycle |
protected Set |
supplies
What the bean supplies Set |
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
annotations, description |
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Constructor Summary | |
AbstractBeanMetaData()
Create a new bean meta data |
|
AbstractBeanMetaData(String bean)
Create a new bean meta data |
|
AbstractBeanMetaData(String name,
String bean)
Create a new bean meta data |
Method Summary | |
String |
getBean()
Get the bean. |
Iterator |
getChildren()
Return the child nodes |
ConstructorMetaData |
getConstructor()
Get the constructor |
LifecycleMetaData |
getCreate()
Get the create lifecycle |
Set |
getDemands()
Get what this bean demands. |
LifecycleMetaData |
getDestroy()
Get the destroy lifecycle |
Map |
getMetaData()
Attached metadata for the bean |
org.jboss.dependency.spi.ControllerMode |
getMode()
Get the mode |
String |
getName()
Get the name |
Set |
getProperties()
Get the properties. |
LifecycleMetaData |
getStart()
Get the start lifecycle |
LifecycleMetaData |
getStop()
Get the stop lifecycle |
Set |
getSupplies()
Get what this bean supplies. |
void |
setBean(String bean)
Set the bean. |
void |
setConstructor(ConstructorMetaData constructor)
Set the constructor |
void |
setCreate(LifecycleMetaData lifecycle)
Set the lifecycle metadata |
void |
setDemands(Set demands)
Set what the bean demands. |
void |
setDestroy(LifecycleMetaData lifecycle)
Set the destroy metadata |
void |
setMetaData(Map metaData)
|
void |
setMode(org.jboss.dependency.spi.ControllerMode mode)
Set the name |
void |
setName(String name)
Set the name. |
void |
setProperties(Set properties)
Set the propertiess. |
void |
setStart(LifecycleMetaData lifecycle)
Set the start metadata |
void |
setStop(LifecycleMetaData lifecycle)
Set the stop metadata |
void |
setSupplies(Set supplies)
Set what the bean supplies. |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
getAnnotations, getDescription, setAnnotations, setDescription, visit |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.beans.metadata.spi.FeatureMetaData |
getAnnotations, getDescription |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString |
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode |
visit |
Field Detail |
protected String bean
protected String name
protected org.jboss.dependency.spi.ControllerMode mode
protected Set properties
protected ConstructorMetaData constructor
protected LifecycleMetaData create
protected LifecycleMetaData start
protected LifecycleMetaData stop
protected LifecycleMetaData destroy
protected Set demands
protected Set supplies
protected Map metaData
Constructor Detail |
public AbstractBeanMetaData()
public AbstractBeanMetaData(String bean)
bean
- the bean class namepublic AbstractBeanMetaData(String name, String bean)
name
- the namebean
- the bean class nameMethod Detail |
public void setBean(String bean)
bean
- The bean to set.public void setProperties(Set properties)
properties
- Setpublic void setConstructor(ConstructorMetaData constructor)
constructor
- the constructor metadatapublic void setDemands(Set demands)
demands
- Setpublic void setSupplies(Set supplies)
supplies
- Setpublic String getBean()
BeanMetaData
getBean
in interface BeanMetaData
public String getName()
BeanMetaData
getName
in interface BeanMetaData
public void setName(String name)
setName
in interface BeanMetaData
name
- The name to set.public org.jboss.dependency.spi.ControllerMode getMode()
BeanMetaData
getMode
in interface BeanMetaData
public void setMode(org.jboss.dependency.spi.ControllerMode mode)
BeanMetaData
setMode
in interface BeanMetaData
mode
- the modepublic Set getProperties()
BeanMetaData
getProperties
in interface BeanMetaData
public ConstructorMetaData getConstructor()
BeanMetaData
getConstructor
in interface BeanMetaData
public LifecycleMetaData getCreate()
BeanMetaData
getCreate
in interface BeanMetaData
public void setCreate(LifecycleMetaData lifecycle)
lifecycle
- the lifecycle metadatapublic LifecycleMetaData getStart()
BeanMetaData
getStart
in interface BeanMetaData
public void setStart(LifecycleMetaData lifecycle)
lifecycle
- the lifecycle metadatapublic LifecycleMetaData getStop()
BeanMetaData
getStop
in interface BeanMetaData
public void setStop(LifecycleMetaData lifecycle)
lifecycle
- the lifecycle metadatapublic LifecycleMetaData getDestroy()
BeanMetaData
getDestroy
in interface BeanMetaData
public void setDestroy(LifecycleMetaData lifecycle)
lifecycle
- the lifecycle metadatapublic Set getDemands()
BeanMetaData
getDemands
in interface BeanMetaData
public Set getSupplies()
BeanMetaData
getSupplies
in interface BeanMetaData
public Map getMetaData()
BeanMetaData
getMetaData
in interface BeanMetaData
public void setMetaData(Map metaData)
public Iterator getChildren()
MetaDataVisitorNode
getChildren
in interface MetaDataVisitorNode
getChildren
in class AbstractFeatureMetaData
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class AbstractFeatureMetaData
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class AbstractFeatureMetaData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |