Package org.jboss.as.server.operations
Class ServerDomainProcessShutdownHandler
- java.lang.Object
-
- org.jboss.as.server.operations.ServerDomainProcessShutdownHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class ServerDomainProcessShutdownHandler extends Object implements OperationStepHandler
Handler that starts a graceful shutdown in domain mode. Note that this does not actually shut down the server, it merely starts the suspend process. The server is shut down by the process controller closing the STDIN stream, which then waits for this process to be complete.- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleOperationDefinitionDOMAIN_DEFINITION
-
Constructor Summary
Constructors Constructor Description ServerDomainProcessShutdownHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Field Detail
-
DOMAIN_DEFINITION
public static final SimpleOperationDefinition DOMAIN_DEFINITION
-
-
Method Detail
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-