org.jboss.kernel.plugins.dependency
Class ClassAttributeCallbackItem
java.lang.Object
org.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractCallbackItem<T>
org.jboss.dependency.plugins.OwnerCallbackItem<T,AttributeDispatchContext>
org.jboss.dependency.plugins.AttributeCallbackItem<Class<?>>
org.jboss.kernel.plugins.dependency.ClassAttributeCallbackItem
- All Implemented Interfaces:
- Cloneable, CallbackItem<Class<?>>, org.jboss.util.JBossInterface
public class ClassAttributeCallbackItem
- extends AttributeCallbackItem<Class<?>>
Class callback item - class dependency.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
cardinality
protected Cardinality cardinality
ClassAttributeCallbackItem
public ClassAttributeCallbackItem(Class<?> name,
AttributeDispatchContext owner,
String attribute)
ClassAttributeCallbackItem
public ClassAttributeCallbackItem(Class<?> name,
ControllerState whenRequired,
ControllerState dependentState,
Cardinality cardinality,
AttributeDispatchContext owner,
String attribute)
ownerCallback
public void ownerCallback(Controller controller,
boolean isInstallPhase)
throws Throwable
- Description copied from interface:
CallbackItem
- Execute callback when item added to controller.
- Specified by:
ownerCallback
in interface CallbackItem<Class<?>>
- Overrides:
ownerCallback
in class AbstractCallbackItem<Class<?>>
- Parameters:
controller
- the controllerisInstallPhase
- install or uninstall
- Throws:
Throwable
- for any error
createDependencyItem
protected DependencyItem createDependencyItem(ControllerContext owner)
- Description copied from class:
OwnerCallbackItem
- Create dependency - if it exists.
- Overrides:
createDependencyItem
in class OwnerCallbackItem<Class<?>,AttributeDispatchContext>
- Parameters:
owner
- if owner is controller context
- Returns:
- dependency or null if no such dependency exists
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.