Package org.jboss.as.server.operations
Class ServerProcessStateHandler
- java.lang.Object
-
- org.jboss.as.server.operations.ServerProcessStateHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class ServerProcessStateHandler extends Object implements OperationStepHandler
Operation handlers responsible for putting the server in either the reload or restart-required state.- Author:
- Emanuel Muckenhuber
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleOperationDefinitionRELOAD_DEFINITIONstatic StringREQUIRE_RELOAD_OPERATIONstatic StringREQUIRE_RESTART_OPERATIONstatic SimpleOperationDefinitionRESTART_DEFINITIONstatic OperationStepHandlerSET_RELOAD_REQUIRED_HANDLERstatic OperationStepHandlerSET_RESTART_REQUIRED_HANDLER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Field Detail
-
REQUIRE_RELOAD_OPERATION
public static final String REQUIRE_RELOAD_OPERATION
- See Also:
- Constant Field Values
-
REQUIRE_RESTART_OPERATION
public static final String REQUIRE_RESTART_OPERATION
- See Also:
- Constant Field Values
-
RELOAD_DEFINITION
public static final SimpleOperationDefinition RELOAD_DEFINITION
-
RESTART_DEFINITION
public static final SimpleOperationDefinition RESTART_DEFINITION
-
SET_RELOAD_REQUIRED_HANDLER
public static final OperationStepHandler SET_RELOAD_REQUIRED_HANDLER
-
SET_RESTART_REQUIRED_HANDLER
public static final OperationStepHandler SET_RESTART_REQUIRED_HANDLER
-
-
Method Detail
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-