|
||||||||||
| 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
public class AbstractDependencyValueMetaData
Dependency value.
| Field Summary | |
|---|---|
protected KernelController |
controller
The controller |
protected 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 | |
|---|---|
ControllerState |
getDependentState()
|
Object |
getValue(TypeInfo info,
ClassLoader cl)
Get the value. |
void |
setDependentState(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 ControllerState dependentState
| Constructor Detail |
|---|
public AbstractDependencyValueMetaData()
public AbstractDependencyValueMetaData(Object value)
value - the value
public AbstractDependencyValueMetaData(Object value,
String property)
value - the valueproperty - the property| Method Detail |
|---|
public void setValue(Object value)
setValue in class AbstractValueMetaDatavalue - the valuepublic void setProperty(String property)
property - the property namepublic void setDependentState(ControllerState dependentState)
dependentState - the required state or null if it must be in the registrypublic ControllerState getDependentState()
public Object getValue(TypeInfo info,
ClassLoader cl)
throws Throwable
ValueMetaData
getValue in interface ValueMetaDatagetValue in class AbstractValueMetaDatainfo - the type infocl - the classloader
Throwable - for any errorpublic void visit(MetaDataVisitor visitor)
MetaDataVisitorNode
visit in interface MetaDataVisitorNodevisit in class AbstractValueMetaDatavisitor - the visitorpublic 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 | |||||||||