Class EeWriteAttributeHandler

java.lang.Object
org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
org.jboss.as.ee.subsystem.EeWriteAttributeHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public class EeWriteAttributeHandler extends org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
Handles the "write-attribute" operation for the EE subsystem.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Constructor Details

  • Method Details

    • registerAttributes

      public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registry)
    • 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