org.jboss.beans.metadata.plugins
Class AbstractInstallMetaData
java.lang.Object
org.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractFeatureMetaData
org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData
org.jboss.beans.metadata.plugins.AbstractInstallMetaData
- All Implemented Interfaces:
- Serializable, Cloneable, MutableParameterizedMetaData, TypeProvider, FeatureMetaData, InstallMetaData, LifecycleMetaData, MetaDataVisitorNode, ParameterizedMetaData, org.jboss.util.JBossInterface
public class AbstractInstallMetaData
- extends AbstractLifecycleMetaData
- implements InstallMetaData, Serializable
Metadata for installation.
- Version:
- $Revision: 71794 $
- Author:
- Ales Justin, Adrian Brock
- See Also:
- Serialized Form
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData |
addChildren, doClone, getMethodName, getParameters, getState, getType, getType, isIgnored, setIgnored, setMethodName, setParameters, setState, setType |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
toShortString |
bean
protected String bean
- The bean name
dependentState
protected ControllerState dependentState
- The required state of the dependency or null to look in the registry
AbstractInstallMetaData
public AbstractInstallMetaData()
- Create a new install meta data
getBean
public String getBean()
- Description copied from interface:
InstallMetaData
- Get the bean name.
- Specified by:
getBean
in interface InstallMetaData
- Returns:
- the bean name.
setBean
public void setBean(String bean)
- Set the bean
- Parameters:
bean
- the bean
setDependentState
public void setDependentState(ControllerState dependentState)
- Set the required state of the dependency
- Parameters:
dependentState
- the required state or null if it must be in the registry
getDependentState
public ControllerState getDependentState()
- Description copied from interface:
InstallMetaData
- Get the required state of the dependency
- Specified by:
getDependentState
in interface InstallMetaData
- Returns:
- the required state or null if it must be in the registry
initialVisit
public void initialVisit(MetaDataVisitor visitor)
- Description copied from interface:
MetaDataVisitorNode
- Visit the node
- Specified by:
initialVisit
in interface MetaDataVisitorNode
- Overrides:
initialVisit
in class AbstractLifecycleMetaData
- Parameters:
visitor
- the visitor
getClassInfo
protected org.jboss.reflect.spi.ClassInfo getClassInfo(KernelControllerContext context)
throws Throwable
- Overrides:
getClassInfo
in class AbstractLifecycleMetaData
- Throws:
Throwable
toString
public void toString(org.jboss.util.JBossStringBuilder buffer)
- Overrides:
toString
in class AbstractLifecycleMetaData
toShortString
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
- Specified by:
toShortString
in interface org.jboss.util.JBossInterface
- Overrides:
toShortString
in class AbstractLifecycleMetaData
clone
public AbstractInstallMetaData clone()
- Description copied from interface:
MetaDataVisitorNode
- Clone the object
- Specified by:
clone
in interface MetaDataVisitorNode
- Specified by:
clone
in interface org.jboss.util.JBossInterface
- Overrides:
clone
in class AbstractLifecycleMetaData
- Returns:
- a clone of the object
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.