|
||||||||||
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.AbstractLifecycleMetaData
org.jboss.beans.metadata.plugins.AbstractCallbackMetaData
public abstract class AbstractCallbackMetaData
Metadata for callback.
Field Summary | |
---|---|
protected Cardinality |
cardinality
The cardinality |
protected ControllerState |
dependentState
The required state of the dependency |
protected org.jboss.reflect.spi.MethodInfo |
methodInfo
The method info |
protected String |
property
The property name |
protected org.jboss.beans.info.spi.PropertyInfo |
propertyInfo
The property info |
protected String |
signature
The signature |
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData |
---|
methodName, parameters, state, type |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider |
---|
ERROR_MSG |
Constructor Summary | |
---|---|
AbstractCallbackMetaData()
|
Method Summary | |
---|---|
protected abstract void |
addCallback(MetaDataVisitor visitor,
CallbackItem<?> callback)
Add install / uninstrall callback. |
void |
describeVisit(MetaDataVisitor vistor)
Revisit the node |
Cardinality |
getCardinality()
Get the cardinality. |
ControllerState |
getDependentState()
Get the required state of the dependency |
String |
getProperty()
Get the property name. |
String |
getSignature()
Get signature. |
void |
setCardinality(Cardinality cardinality)
Set the cardinality. |
void |
setDependentState(ControllerState dependentState)
Set the required state of the dependency |
void |
setMethodInfo(org.jboss.reflect.spi.MethodInfo methodInfo)
|
void |
setProperty(String property)
Set the property. |
void |
setPropertyInfo(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
|
void |
setSignature(String signature)
Set the signature. |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData |
---|
addChildren, clone, doClone, getClassInfo, getMethodName, getParameters, getState, getType, getType, initialVisit, isIgnored, setIgnored, setMethodName, setParameters, setState, setType |
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
---|
applyCollectionOrMapCheck, doClone, getAnnotations, getChildren, getDescription, setAnnotations, setDescription |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, 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.LifecycleMetaData |
---|
getMethodName, getState, isIgnored, setMethodName, setState |
Methods inherited from interface org.jboss.beans.metadata.spi.ParameterizedMetaData |
---|
getParameters |
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 |
---|
clone, getChildren, initialVisit |
Field Detail |
---|
protected Cardinality cardinality
protected String property
protected ControllerState dependentState
protected String signature
protected transient org.jboss.beans.info.spi.PropertyInfo propertyInfo
protected transient org.jboss.reflect.spi.MethodInfo methodInfo
Constructor Detail |
---|
public AbstractCallbackMetaData()
Method Detail |
---|
public String getProperty()
CallbackMetaData
getProperty
in interface CallbackMetaData
public void setProperty(String property)
property
- property namepublic Cardinality getCardinality()
CallbackMetaData
getCardinality
in interface CallbackMetaData
public void setCardinality(Cardinality cardinality)
cardinality
- the cardinalitypublic String getSignature()
CallbackMetaData
getSignature
in interface CallbackMetaData
public void setSignature(String signature)
signature
- method / property parameter signaturepublic void setDependentState(ControllerState dependentState)
dependentState
- the required state or null if it must be in the registrypublic ControllerState getDependentState()
CallbackMetaData
getDependentState
in interface CallbackMetaData
public void setPropertyInfo(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
public void setMethodInfo(org.jboss.reflect.spi.MethodInfo methodInfo)
protected abstract void addCallback(MetaDataVisitor visitor, CallbackItem<?> callback)
visitor
- the meta data visitorcallback
- the callback itempublic void describeVisit(MetaDataVisitor vistor)
MetaDataVisitorNode
describeVisit
in interface MetaDataVisitorNode
describeVisit
in class AbstractFeatureMetaData
vistor
- the visitorpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class AbstractLifecycleMetaData
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class AbstractLifecycleMetaData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |