|
||||||||||
| 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 org.jboss.dependency.spi.ControllerState |
state
The state |
protected String |
type
The type - create, start, stop, destroy, install |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
|---|
annotations, description |
| 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)
|
protected org.jboss.reflect.spi.ClassInfo |
getClassInfo(KernelControllerContext context)
|
String |
getMethodName()
Get the method name. |
List<ParameterMetaData> |
getParameters()
Get the parameters. |
org.jboss.dependency.spi.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(org.jboss.dependency.spi.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, getAnnotations, getChildren, getDescription, setAnnotations, setDescription |
| 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.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 |
|---|
describeVisit, getChildren |
| Field Detail |
|---|
protected org.jboss.dependency.spi.ControllerState state
protected String methodName
protected List<ParameterMetaData> parameters
protected String type
| Constructor Detail |
|---|
public AbstractLifecycleMetaData()
public AbstractLifecycleMetaData(String methodName)
| Method Detail |
|---|
public org.jboss.dependency.spi.ControllerState getState()
LifecycleMetaData
getState in interface LifecycleMetaDatapublic void setState(org.jboss.dependency.spi.ControllerState state)
LifecycleMetaData
setState in interface LifecycleMetaDatastate - the statepublic String getMethodName()
LifecycleMetaData
getMethodName in interface LifecycleMetaDatapublic void setMethodName(String name)
name - 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 AbstractFeatureMetaData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||