Package org.jboss.as.server.operations
Class ServerShutdownHandler
- java.lang.Object
-
- org.jboss.as.server.operations.ServerShutdownHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class ServerShutdownHandler extends Object implements OperationStepHandler
Handler that shuts down the standalone server.- Author:
- Jason T. Greene
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleOperationDefinitionDEFINITIONprotected static SimpleAttributeDefinitionPERFORM_INSTALLATIONprotected static SimpleAttributeDefinitionRESTART
-
Constructor Summary
Constructors Constructor Description ServerShutdownHandler(ControlledProcessState processState, ServerEnvironment serverEnvironment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Field Detail
-
RESTART
protected static final SimpleAttributeDefinition RESTART
-
PERFORM_INSTALLATION
protected static final SimpleAttributeDefinition PERFORM_INSTALLATION
-
DEFINITION
public static final SimpleOperationDefinition DEFINITION
-
-
Constructor Detail
-
ServerShutdownHandler
public ServerShutdownHandler(ControlledProcessState processState, ServerEnvironment serverEnvironment)
-
-
Method Detail
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-