Package org.jboss.as.txn.subsystem
Class ParticipantWriteAttributeHandler
java.lang.Object
org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
org.jboss.as.txn.subsystem.ParticipantWriteAttributeHandler
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
@Deprecated
public class ParticipantWriteAttributeHandler
extends org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
Deprecated.
The participant is a runtime resource which is created by
LogStoreProbeHandler
and loaded with data from Narayana object store.
There is no way in Narayana API and no reason from processing perspective
to directly write to the participant record. The participant can be managed
by operations like :delete, :recover but not with direct write access
to attributes.
This handler can be deleted in future.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionParticipantWriteAttributeHandler(org.jboss.as.controller.AttributeDefinition... definitions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplyUpdateToRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode resolvedValue, org.jboss.dmr.ModelNode currentValue, org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<Void> voidHandback) Deprecated.protected voidrevertUpdateToRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode valueToRestore, org.jboss.dmr.ModelNode resolvedValue, Void handback) Deprecated.Methods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
execute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, requiresRuntime, validateUpdatedModel
-
Constructor Details
-
ParticipantWriteAttributeHandler
public ParticipantWriteAttributeHandler(org.jboss.as.controller.AttributeDefinition... definitions) Deprecated.
-
-
Method Details
-
applyUpdateToRuntime
protected boolean applyUpdateToRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode resolvedValue, org.jboss.dmr.ModelNode currentValue, org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<Void> voidHandback) Deprecated.- Specified by:
applyUpdateToRuntimein classorg.jboss.as.controller.AbstractWriteAttributeHandler<Void>
-
revertUpdateToRuntime
protected void revertUpdateToRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode valueToRestore, org.jboss.dmr.ModelNode resolvedValue, Void handback) Deprecated.- Specified by:
revertUpdateToRuntimein classorg.jboss.as.controller.AbstractWriteAttributeHandler<Void>
-