de.smartics.properties.jboss.extension.resources
Class PropertiesConfigurationResourceAttributeHandler

Package class diagram package PropertiesConfigurationResourceAttributeHandler
java.lang.Object
  extended by org.jboss.as.controller.AbstractWriteAttributeHandler<de.smartics.properties.spi.config.config.ExtensionConfiguration>
      extended by de.smartics.properties.jboss.extension.resources.PropertiesConfigurationResourceAttributeHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public final class PropertiesConfigurationResourceAttributeHandler
     
     
extends org.jboss.as.controller.AbstractWriteAttributeHandler<de.smartics.properties.spi.config.config.ExtensionConfiguration>

The attribute handler for the properties configuration resource.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T>
 
Field Summary
static PropertiesConfigurationResourceAttributeHandler INSTANCE
          The attribute handler singleton.
 
Method Summary
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<de.smartics.properties.spi.config.config.ExtensionConfiguration> handbackHolder)
           
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, de.smartics.properties.spi.config.config.ExtensionConfiguration handback)
           
 
Methods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
execute, getAttributeDefinition, requiresRuntime, validateResolvedValue, validateUnresolvedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PropertiesConfigurationResourceAttributeHandler INSTANCE
The attribute handler singleton.

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<de.smartics.properties.spi.config.config.ExtensionConfiguration> handbackHolder)
                                throws org.jboss.as.controller.OperationFailedException
Specified by:
applyUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<de.smartics.properties.spi.config.config.ExtensionConfiguration>
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,
                                     de.smartics.properties.spi.config.config.ExtensionConfiguration handback)
                              throws org.jboss.as.controller.OperationFailedException
Specified by:
revertUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<de.smartics.properties.spi.config.config.ExtensionConfiguration>
Throws:
org.jboss.as.controller.OperationFailedException


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.