Package org.jboss.as.ee.subsystem
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.
-
-
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 EeWriteAttributeHandler(DefaultEarSubDeploymentsIsolationProcessor isolationProcessor, GlobalModuleDependencyProcessor moduleDependencyProcessor, DescriptorPropertyReplacementProcessor specDescriptorPropertyReplacementProcessor, DescriptorPropertyReplacementProcessor jbossDescriptorPropertyReplacementProcessor, AnnotationPropertyReplacementProcessor annotationPropertyReplacementProcessor)
-
Method Summary
All Methods Instance Methods Concrete 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 newValue, org.jboss.dmr.ModelNode currentValue, org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<Void> handbackHolder)
void
registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registry)
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)
-
-
-
Constructor Detail
-
EeWriteAttributeHandler
public EeWriteAttributeHandler(DefaultEarSubDeploymentsIsolationProcessor isolationProcessor, GlobalModuleDependencyProcessor moduleDependencyProcessor, DescriptorPropertyReplacementProcessor specDescriptorPropertyReplacementProcessor, DescriptorPropertyReplacementProcessor jbossDescriptorPropertyReplacementProcessor, AnnotationPropertyReplacementProcessor annotationPropertyReplacementProcessor)
-
-
Method Detail
-
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 classorg.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 classorg.jboss.as.controller.AbstractWriteAttributeHandler<Void>
- Throws:
org.jboss.as.controller.OperationFailedException
-
-