public class SystemPropertyValueWriteAttributeHandler extends WriteAttributeHandlers.WriteAttributeOperationHandler
Modifier and Type | Field and Description |
---|---|
static SystemPropertyValueWriteAttributeHandler |
INSTANCE |
Constructor and Description |
---|
SystemPropertyValueWriteAttributeHandler(ProcessEnvironment processEnvironment) |
Modifier and Type | Method and Description |
---|---|
protected void |
modelChanged(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode currentValue)
Notification that the model has been changed.
|
execute, validateValue
public static final SystemPropertyValueWriteAttributeHandler INSTANCE
public SystemPropertyValueWriteAttributeHandler(ProcessEnvironment processEnvironment)
protected void modelChanged(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue) throws OperationFailedException
WriteAttributeHandlers.WriteAttributeOperationHandler
OperationContext.completeStep()
is invoked
or OperationFailedException
is thrown.modelChanged
in class WriteAttributeHandlers.WriteAttributeOperationHandler
context
- the context of the operationoperation
- the operationattributeName
- the name of the attribute being modifiednewValue
- the new value for the attributecurrentValue
- the existing value for the attributeOperationFailedException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.