|
||||||||||
| 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
public class AbstractLifecycleMetaData
Metadata for lifecycle.
| Field Summary | |
|---|---|
protected String |
methodName
The method name |
protected List<ParameterMetaData> |
parameters
The paramaters List |
protected ControllerState |
state
The state |
protected String |
type
The type - create, start, stop, destroy, install |
| 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 | |
|---|---|
AbstractLifecycleMetaData()
Create a new lifecycle meta data |
|
AbstractLifecycleMetaData(String methodName)
|
|
| Method Summary | |
|---|---|
protected void |
addChildren(Set<MetaDataVisitorNode> children)
|
AbstractLifecycleMetaData |
clone()
Clone the object |
protected void |
doClone(AbstractLifecycleMetaData clone)
|
protected org.jboss.reflect.spi.ClassInfo |
getClassInfo(KernelControllerContext context)
|
String |
getMethodName()
Get the method name. |
List<ParameterMetaData> |
getParameters()
Get the parameters. |
ControllerState |
getState()
Get the state |
String |
getType()
Get type - create, start, stop, destroy, install |
org.jboss.reflect.spi.TypeInfo |
getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
Get the injectee type info. |
void |
initialVisit(MetaDataVisitor visitor)
Visit the node |
boolean |
isIgnored()
Is default ignored. |
void |
setIgnored(boolean ignored)
Set ignored attribute. |
void |
setMethodName(String name)
Set the method name |
void |
setParameters(List<ParameterMetaData> parameters)
Set the parameters |
void |
setState(ControllerState state)
Set the state |
void |
setType(String type)
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
|---|
applyCollectionOrMapCheck, describeVisit, 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.FeatureMetaData |
|---|
getAnnotations, getDescription |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
toShortString |
| Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode |
|---|
describeVisit, getChildren |
| Field Detail |
|---|
protected ControllerState state
protected String methodName
protected List<ParameterMetaData> parameters
protected String type
| Constructor Detail |
|---|
public AbstractLifecycleMetaData()
public AbstractLifecycleMetaData(String methodName)
| Method Detail |
|---|
public ControllerState getState()
LifecycleMetaData
getState in interface LifecycleMetaDatapublic void setState(ControllerState state)
LifecycleMetaData
setState in interface LifecycleMetaDatastate - the statepublic String getMethodName()
LifecycleMetaData
getMethodName in interface LifecycleMetaDatapublic void setMethodName(String name)
setMethodName in interface LifecycleMetaDataname - the factory methodpublic boolean isIgnored()
LifecycleMetaData
isIgnored in interface LifecycleMetaDatapublic void setIgnored(boolean ignored)
ignored - the ignoredpublic List<ParameterMetaData> getParameters()
ParameterizedMetaData
getParameters in interface ParameterizedMetaDatapublic void setParameters(List<ParameterMetaData> parameters)
setParameters in interface MutableParameterizedMetaDataparameters - Listpublic String getType()
public void setType(String type)
public void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit in interface MetaDataVisitorNodeinitialVisit in class AbstractFeatureMetaDatavisitor - the visitorprotected void addChildren(Set<MetaDataVisitorNode> children)
addChildren in class AbstractFeatureMetaData
public org.jboss.reflect.spi.TypeInfo getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
throws Throwable
TypeProvider
getType in interface TypeProvidervisitor - meda data visitorprevious - previous node in the stack
Throwable - if could not determine class
protected org.jboss.reflect.spi.ClassInfo getClassInfo(KernelControllerContext context)
throws Throwable
Throwablepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractFeatureMetaDatapublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class AbstractFeatureMetaDatapublic AbstractLifecycleMetaData clone()
MetaDataVisitorNode
clone in interface MetaDataVisitorNodeclone in interface org.jboss.util.JBossInterfaceclone in class org.jboss.util.JBossObjectprotected void doClone(AbstractLifecycleMetaData clone)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||