Package org.jboss.as.server.deployment
Class DeploymentReplaceHandler
- java.lang.Object
-
- org.jboss.as.server.deployment.DeploymentReplaceHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class DeploymentReplaceHandler 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 static StringOPERATION_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeploymentReplaceHandler(ContentRepository contentRepository)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFromHash(ContentReference reference)static DeploymentReplaceHandlercreate(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
-
-
Constructor Detail
-
DeploymentReplaceHandler
protected DeploymentReplaceHandler(ContentRepository contentRepository)
-
-
Method Detail
-
create
public static DeploymentReplaceHandler create(ContentRepository contentRepository)
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
addFromHash
protected void addFromHash(ContentReference reference) throws OperationFailedException
- Throws:
OperationFailedException
-
-