org.jboss.dependency.plugins
Class SingleCallbackItem<T>
java.lang.Object
org.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractCallbackItem<T>
org.jboss.dependency.plugins.OwnerCallbackItem<T,InvokeDispatchContext>
org.jboss.dependency.plugins.SingleCallbackItem<T>
- Type Parameters:
T
- the callback type
- All Implemented Interfaces:
- Cloneable, CallbackItem<T>, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- ClassSingleCallbackItem
public class SingleCallbackItem<T>
- extends OwnerCallbackItem<T,InvokeDispatchContext>
Single callback item.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Constructor Summary |
SingleCallbackItem(T name,
ControllerState whenRequired,
ControllerState dependentState,
InvokeDispatchContext owner,
String method)
|
SingleCallbackItem(T name,
ControllerState whenRequired,
ControllerState dependentState,
InvokeDispatchContext owner,
String method,
String signature)
|
SingleCallbackItem(T name,
InvokeDispatchContext owner,
String method)
|
SingleCallbackItem(T name,
InvokeDispatchContext owner,
String method,
String signature)
|
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
signature
protected String signature
SingleCallbackItem
public SingleCallbackItem(T name,
InvokeDispatchContext owner,
String method)
SingleCallbackItem
public SingleCallbackItem(T name,
InvokeDispatchContext owner,
String method,
String signature)
SingleCallbackItem
public SingleCallbackItem(T name,
ControllerState whenRequired,
ControllerState dependentState,
InvokeDispatchContext owner,
String method)
SingleCallbackItem
public SingleCallbackItem(T name,
ControllerState whenRequired,
ControllerState dependentState,
InvokeDispatchContext owner,
String method,
String signature)
changeCallback
protected void changeCallback(ControllerContext context,
boolean isInstallPhase)
throws Throwable
- Description copied from class:
AbstractCallbackItem
- Helper method.
- Overrides:
changeCallback
in class AbstractCallbackItem<T>
- Parameters:
context
- changed contextisInstallPhase
- install or uninstall phase
- Throws:
Throwable
- for any error
toString
protected void toString(org.jboss.util.JBossStringBuilder buffer)
- Overrides:
toString
in class OwnerCallbackItem<T,InvokeDispatchContext>
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.