|
|||||||||||
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.AbstractDemandMetaData
A demand.
Nested Class Summary | |
class |
AbstractDemandMetaData.DemandDependencyItem
Information about a demand dependency. |
Field Summary | |
protected Object |
demand
The demand |
protected org.jboss.dependency.plugins.AbstractDependencyItem |
dependencyItem
The dependency delegate |
protected org.jboss.dependency.spi.ControllerState |
whenRequired
When the dependency is required |
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Constructor Summary | |
AbstractDemandMetaData()
Create a new demand |
|
AbstractDemandMetaData(Object demand)
Create a new demand |
Method Summary | |
Iterator |
getChildren()
Return the child nodes |
Object |
getDemand()
What is demanded |
org.jboss.dependency.spi.ControllerState |
getWhenRequired()
Get when the dependency is required |
void |
setDemand(Object demand)
Set the demand |
void |
setWhenRequired(org.jboss.dependency.spi.ControllerState whenRequired)
Set the required state of the dependency |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
void |
visit(MetaDataVisitor visitor)
Visit the node |
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.util.JBossInterface |
clone, toShortString |
Field Detail |
protected Object demand
protected org.jboss.dependency.spi.ControllerState whenRequired
protected org.jboss.dependency.plugins.AbstractDependencyItem dependencyItem
Constructor Detail |
public AbstractDemandMetaData()
public AbstractDemandMetaData(Object demand)
demand
- the demandMethod Detail |
public void setWhenRequired(org.jboss.dependency.spi.ControllerState whenRequired)
whenRequired
- when the dependecy is requiredpublic void setDemand(Object demand)
demand
- the demandpublic Object getDemand()
DemandMetaData
getDemand
in interface DemandMetaData
public org.jboss.dependency.spi.ControllerState getWhenRequired()
DemandMetaData
getWhenRequired
in interface DemandMetaData
public void visit(MetaDataVisitor visitor)
MetaDataVisitorNode
visit
in interface MetaDataVisitorNode
visitor
- the visitorpublic Iterator getChildren()
MetaDataVisitorNode
getChildren
in interface MetaDataVisitorNode
public void toString(org.jboss.util.JBossStringBuilder buffer)
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |