|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractCallbackItem<T>
org.jboss.dependency.plugins.OwnerCallbackItem<T,AttributeDispatchContext>
org.jboss.dependency.plugins.AttributeCallbackItem<T>
T
- the callback typepublic class AttributeCallbackItem<T>
Attribute callback item.
Field Summary |
---|
Fields inherited from class org.jboss.dependency.plugins.OwnerCallbackItem |
---|
owner |
Fields inherited from class org.jboss.dependency.plugins.AbstractCallbackItem |
---|
attributeName, dependentState, name, whenRequired |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
AttributeCallbackItem(T name,
AttributeDispatchContext owner,
String attribute)
|
|
AttributeCallbackItem(T name,
ControllerState whenRequired,
ControllerState dependentState,
AttributeDispatchContext owner,
String attribute)
|
Method Summary | |
---|---|
protected void |
changeCallback(ControllerContext context,
boolean isInstallPhase)
Helper method. |
protected void |
execute(Object target)
|
Methods inherited from class org.jboss.dependency.plugins.OwnerCallbackItem |
---|
addDependency, changeCallback, createDependencyItem, toString |
Methods inherited from class org.jboss.dependency.plugins.AbstractCallbackItem |
---|
getAttributeName, getDependentState, getIDependOn, getWhenRequired, ownerCallback, toShortString |
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 |
Constructor Detail |
---|
public AttributeCallbackItem(T name, AttributeDispatchContext owner, String attribute)
public AttributeCallbackItem(T name, ControllerState whenRequired, ControllerState dependentState, AttributeDispatchContext owner, String attribute)
Method Detail |
---|
protected void execute(Object target) throws Throwable
Throwable
protected void changeCallback(ControllerContext context, boolean isInstallPhase) throws Throwable
AbstractCallbackItem
changeCallback
in class AbstractCallbackItem<T>
context
- changed contextisInstallPhase
- install or uninstall phase
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |