|
|||||||||||
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.AbstractValueMetaData
org.jboss.beans.metadata.plugins.AbstractDependencyValueMetaData
Dependency value.
Field Summary | |
protected KernelController |
controller
The controller |
protected org.jboss.dependency.spi.ControllerState |
dependentState
The required state of the dependency or null to look in the registry |
protected String |
property
The property name |
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
value |
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Constructor Summary | |
AbstractDependencyValueMetaData()
Create a new dependency value |
|
AbstractDependencyValueMetaData(Object value)
Create a new dependency value |
|
AbstractDependencyValueMetaData(Object value,
String property)
Create a new dependency value |
Method Summary | |
org.jboss.dependency.spi.ControllerState |
getDependentState()
|
Object |
getValue(org.jboss.reflect.spi.TypeInfo info)
Get the value. |
void |
setDependentState(org.jboss.dependency.spi.ControllerState dependentState)
Set the required state of the dependency |
void |
setProperty(String property)
Set the property |
void |
setValue(Object value)
Set the value |
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
void |
visit(MetaDataVisitor visitor)
Visit the node |
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
getChildren, getUnderlyingValue, getValue, toShortString |
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 KernelController controller
protected String property
protected org.jboss.dependency.spi.ControllerState dependentState
Constructor Detail |
public AbstractDependencyValueMetaData()
public AbstractDependencyValueMetaData(Object value)
value
- the valuepublic AbstractDependencyValueMetaData(Object value, String property)
value
- the valueproperty
- the propertyMethod Detail |
public void setValue(Object value)
setValue
in class AbstractValueMetaData
value
- the valuepublic void setProperty(String property)
property
- the property namepublic void setDependentState(org.jboss.dependency.spi.ControllerState dependentState)
dependentState
- the required state or null if it must be in the registrypublic org.jboss.dependency.spi.ControllerState getDependentState()
public Object getValue(org.jboss.reflect.spi.TypeInfo info) throws Throwable
ValueMetaData
getValue
in interface ValueMetaData
getValue
in class AbstractValueMetaData
Throwable
public void visit(MetaDataVisitor visitor)
MetaDataVisitorNode
visit
in interface MetaDataVisitorNode
visit
in class AbstractValueMetaData
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class AbstractValueMetaData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |