public class BindingPortHandler extends WriteAttributeHandlers.WriteAttributeOperationHandler
Modifier and Type | Field and Description |
---|---|
static BindingPortHandler |
INSTANCE |
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.
|
protected boolean |
requiresRestart()
Indicating whether the operation requires a restart irrespective of
the runtime state.
|
protected boolean |
requiresRuntime(OperationContext context) |
execute, validateValue
public static final BindingPortHandler INSTANCE
protected boolean requiresRuntime(OperationContext context)
protected boolean requiresRestart()
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.