Package org.jboss.as.server.deployment
Class DeploymentFullReplaceHandler
- java.lang.Object
-
- org.jboss.as.server.deployment.DeploymentFullReplaceHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class DeploymentFullReplaceHandler extends Object implements OperationStepHandler
Handles replacement in the runtime of one deployment by another.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentRepositorycontentRepositorystatic StringOPERATION_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeploymentFullReplaceHandler(ContentRepository contentRepository)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentFullReplaceHandlercreate(ContentRepository contentRepository)voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Field Detail
-
OPERATION_NAME
public static final String OPERATION_NAME
- See Also:
- Constant Field Values
-
contentRepository
protected final ContentRepository contentRepository
-
-
Constructor Detail
-
DeploymentFullReplaceHandler
protected DeploymentFullReplaceHandler(ContentRepository contentRepository)
-
-
Method Detail
-
create
public static DeploymentFullReplaceHandler create(ContentRepository contentRepository)
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-