Package org.jboss.as.controller
Class AbstractWriteAttributeHandler.HandbackHolder<T>
- java.lang.Object
-
- org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T>
-
- Type Parameters:
T
- the type of the object being passed
- Enclosing class:
- AbstractWriteAttributeHandler<T>
public static class AbstractWriteAttributeHandler.HandbackHolder<T> extends Object
Holder subclasses can use to pass an object betweenAbstractWriteAttributeHandler.applyUpdateToRuntime(OperationContext, ModelNode, String, ModelNode, ModelNode, HandbackHolder)
andAbstractWriteAttributeHandler.revertUpdateToRuntime(OperationContext, ModelNode, String, ModelNode, ModelNode, Object)
. Typically that object would encapsulate some data useful in reverting the runtime update.
-
-
Constructor Summary
Constructors Constructor Description HandbackHolder()
-
-
-
Method Detail
-
setHandback
public void setHandback(T handback)
Store an object for use inAbstractWriteAttributeHandler.revertUpdateToRuntime(OperationContext, ModelNode, String, ModelNode, ModelNode, Object)
.- Parameters:
handback
- the object
-
-