|
||||||||||
| 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
public class AbstractDemandMetaData
A demand.
| Nested Class Summary | |
|---|---|
class |
AbstractDemandMetaData.DemandDependencyItem
Information about a demand dependency. |
| Field Summary | |
|---|---|
protected Object |
demand
The demand |
protected String |
transformer
The transformer |
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 | |
|---|---|
void |
describeVisit(MetaDataVisitor vistor)
Revisit the node |
boolean |
equals(Object obj)
|
Iterator<? extends MetaDataVisitorNode> |
getChildren()
Return the child nodes |
Object |
getDemand()
What is demanded |
protected int |
getHashCode()
|
String |
getTransformer()
Get the transformer class name. |
org.jboss.dependency.spi.ControllerState |
getWhenRequired()
Get when the dependency is required |
void |
initialVisit(MetaDataVisitor visitor)
Visit the node |
void |
setDemand(Object demand)
Set the demand |
void |
setTransformer(String transformer)
Set the transformer class name. |
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)
|
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
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 String transformer
| Constructor Detail |
|---|
public AbstractDemandMetaData()
public AbstractDemandMetaData(Object demand)
demand - the demand| Method 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 DemandMetaDatapublic org.jboss.dependency.spi.ControllerState getWhenRequired()
DemandMetaData
getWhenRequired in interface DemandMetaDatapublic String getTransformer()
public void setTransformer(String transformer)
transformer - the transformer class namepublic void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit in interface MetaDataVisitorNodevisitor - the visitorpublic void describeVisit(MetaDataVisitor vistor)
MetaDataVisitorNode
describeVisit in interface MetaDataVisitorNodevistor - the visitorpublic Iterator<? extends MetaDataVisitorNode> getChildren()
MetaDataVisitorNode
getChildren in interface MetaDataVisitorNodepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObjectpublic boolean equals(Object obj)
equals in class Objectprotected int getHashCode()
getHashCode in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||