Class ActiveMQServerControlWriteHandler

java.lang.Object
org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
org.wildfly.extension.messaging.activemq.ActiveMQServerControlWriteHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public class ActiveMQServerControlWriteHandler extends org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
Write attribute handler for attributes that update ActiveMQServerControl.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler

    org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    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 newValue, org.jboss.dmr.ModelNode currentValue, org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<Void> handbackHolder)
     
    protected void
    finishModelStage(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue, org.jboss.as.controller.registry.Resource resource)
     
    void
    registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registry, boolean registerRuntimeOnly)
     
    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 valueToRevert, Void handback)
     

    Methods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler

    execute, getAttributeDefinition, recordCapabilitiesAndRequirements, requiresRuntime, validateUpdatedModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • registerAttributes

      public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registry, boolean registerRuntimeOnly)
    • finishModelStage

      protected void finishModelStage(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue, org.jboss.as.controller.registry.Resource resource) throws org.jboss.as.controller.OperationFailedException
      Overrides:
      finishModelStage in class org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
      Throws:
      org.jboss.as.controller.OperationFailedException
    • applyUpdateToRuntime

      protected boolean applyUpdateToRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue, org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<Void> handbackHolder) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      applyUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
      Throws:
      org.jboss.as.controller.OperationFailedException
    • 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 valueToRevert, Void handback) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      revertUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
      Throws:
      org.jboss.as.controller.OperationFailedException