|
||||||||||
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
public class AbstractBeanMetaData
Metadata for a bean.
Field Summary | |
---|---|
protected String |
bean
The bean class name |
protected ClassLoaderMetaData |
classLoader
The bean ClassLoader |
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 ControllerMode |
mode
The mode |
protected String |
name
The name of this instance |
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 | |
---|---|
void |
addProperty(PropertyMetaData property)
Add a property |
String |
getBean()
Get the bean. |
Iterator |
getChildren()
Return the child nodes |
protected void |
getChildren(Collection collection)
Get the children |
ClassLoaderMetaData |
getClassLoader()
Get the bean ClassLoader |
ConstructorMetaData |
getConstructor()
Get the constructor |
LifecycleMetaData |
getCreate()
Get the create lifecycle |
Set |
getDemands()
Get what this bean demands. |
LifecycleMetaData |
getDestroy()
Get the destroy lifecycle |
ControllerMode |
getMode()
Get the mode |
String |
getName()
Get the name |
Set |
getProperties()
Get the properties. |
PropertyMetaData |
getProperty(String name)
Get a property |
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 |
setClassLoader(ClassLoaderMetaData classLoader)
Set the bean ClassLoader |
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 |
setMode(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 ControllerMode mode
protected ClassLoaderMetaData classLoader
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 PropertyMetaData getProperty(String name)
name
- the name
public void addProperty(PropertyMetaData property)
property
- the propertypublic void setProperties(Set properties)
properties
- Setpublic ClassLoaderMetaData getClassLoader()
BeanMetaData
getClassLoader
in interface BeanMetaData
public void setClassLoader(ClassLoaderMetaData classLoader)
BeanMetaData
setClassLoader
in interface BeanMetaData
classLoader
- the ClassLoader metadatapublic 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 ControllerMode getMode()
BeanMetaData
getMode
in interface BeanMetaData
public void setMode(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 Iterator getChildren()
MetaDataVisitorNode
getChildren
in interface MetaDataVisitorNode
getChildren
in class AbstractFeatureMetaData
protected void getChildren(Collection collection)
collection
- the childrenpublic 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 |