|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.kernel.plugins.dependency.AbstractMetaDataVisitor
public abstract class AbstractMetaDataVisitor
AbstractMetaDataVistor.
| Field Summary | |
|---|---|
protected BeanMetaData |
bmd
|
protected KernelControllerContext |
context
The controller context |
protected org.jboss.dependency.spi.ControllerState |
contextState
The current context for when the dependencies are required |
protected Stack<MetaDataVisitorNode> |
visitorNodeStack
Visited branch stack |
| Constructor Summary | |
|---|---|
protected |
AbstractMetaDataVisitor(BeanMetaData bmd,
KernelControllerContext context)
|
| Method Summary | ||
|---|---|---|
void |
addDependency(org.jboss.dependency.spi.DependencyItem dependency)
Add a dependency |
|
|
addInstallCallback(org.jboss.dependency.spi.CallbackItem<T> callback)
Add an install callback |
|
|
addUninstallCallback(org.jboss.dependency.spi.CallbackItem<T> callback)
Add an uninstall callback |
|
void |
describeVisit(MetaDataVisitorNode node)
Revisit the node |
|
org.jboss.dependency.spi.ControllerState |
getContextState()
Get the context state |
|
KernelControllerContext |
getControllerContext()
Get the kernel controller context |
|
org.jboss.dependency.spi.DependencyInfo |
getDependencyInfo()
|
|
void |
initialVisit(MetaDataVisitorNode node)
Visit the node |
|
protected void |
internalDescribeVisit(MetaDataVisitorNode node)
|
|
protected void |
internalInitialVisit(MetaDataVisitorNode node)
|
|
void |
setContextState(org.jboss.dependency.spi.ControllerState contextState)
Set the context state |
|
Stack<MetaDataVisitorNode> |
visitorNodeStack()
Current meta data visited branch |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.jboss.dependency.spi.ControllerState contextState
protected BeanMetaData bmd
protected KernelControllerContext context
protected Stack<MetaDataVisitorNode> visitorNodeStack
| Constructor Detail |
|---|
protected AbstractMetaDataVisitor(BeanMetaData bmd,
KernelControllerContext context)
| Method Detail |
|---|
public void initialVisit(MetaDataVisitorNode node)
MetaDataVisitor
initialVisit in interface MetaDataVisitornode - the nodepublic void describeVisit(MetaDataVisitorNode node)
MetaDataVisitor
describeVisit in interface MetaDataVisitornode - the nodeprotected void internalInitialVisit(MetaDataVisitorNode node)
protected void internalDescribeVisit(MetaDataVisitorNode node)
public KernelControllerContext getControllerContext()
MetaDataVisitor
getControllerContext in interface MetaDataVisitorpublic org.jboss.dependency.spi.ControllerState getContextState()
MetaDataVisitor
getContextState in interface MetaDataVisitorpublic org.jboss.dependency.spi.DependencyInfo getDependencyInfo()
public void addDependency(org.jboss.dependency.spi.DependencyItem dependency)
MetaDataVisitor
addDependency in interface MetaDataVisitordependency - the dependencypublic <T> void addInstallCallback(org.jboss.dependency.spi.CallbackItem<T> callback)
MetaDataVisitor
addInstallCallback in interface MetaDataVisitorT - the callback item typecallback - the callbackpublic <T> void addUninstallCallback(org.jboss.dependency.spi.CallbackItem<T> callback)
MetaDataVisitor
addUninstallCallback in interface MetaDataVisitorT - the callback item typecallback - the callbackpublic void setContextState(org.jboss.dependency.spi.ControllerState contextState)
MetaDataVisitor
setContextState in interface MetaDataVisitorcontextState - the context statepublic Stack<MetaDataVisitorNode> visitorNodeStack()
MetaDataVisitor
visitorNodeStack in interface MetaDataVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||