Class 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

      Constructors 
      Constructor Description
      ParticipantWriteAttributeHandler​(org.jboss.as.controller.AttributeDefinition... definitions)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
       
      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.
       
      • Methods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler

        execute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, requiresRuntime, validateUpdatedModel
    • Constructor Detail

      • ParticipantWriteAttributeHandler

        public ParticipantWriteAttributeHandler​(org.jboss.as.controller.AttributeDefinition... definitions)
        Deprecated.
    • Method Detail

      • 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:
        applyUpdateToRuntime in class org.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:
        revertUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<Void>