Package org.jboss.as.server.operations
Class SystemPropertyAddHandler
- java.lang.Object
-
- org.jboss.as.server.operations.SystemPropertyAddHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class SystemPropertyAddHandler extends Object implements OperationStepHandler
Operation handler for adding domain/host and server system properties.- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPERATION_NAME
-
Constructor Summary
Constructors Constructor Description SystemPropertyAddHandler(ProcessEnvironmentSystemPropertyUpdater systemPropertyUpdater, AttributeDefinition[] attributes)Create the SystemPropertyAddHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)static org.jboss.dmr.ModelNodegetOperation(org.jboss.dmr.ModelNode address, String value)static org.jboss.dmr.ModelNodegetOperation(org.jboss.dmr.ModelNode address, String value, Boolean boottime)
-
-
-
Field Detail
-
OPERATION_NAME
public static final String OPERATION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SystemPropertyAddHandler
public SystemPropertyAddHandler(ProcessEnvironmentSystemPropertyUpdater systemPropertyUpdater, AttributeDefinition[] attributes)
Create the SystemPropertyAddHandler- Parameters:
systemPropertyUpdater- the local process environment system property updater, ornullif interaction with the process environment is not required
-
-
Method Detail
-
getOperation
public static org.jboss.dmr.ModelNode getOperation(org.jboss.dmr.ModelNode address, String value)
-
getOperation
public static org.jboss.dmr.ModelNode getOperation(org.jboss.dmr.ModelNode address, String value, Boolean boottime)
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-