Class AbstractServerDeploymentManager
- java.lang.Object
-
- org.jboss.as.controller.client.helpers.standalone.impl.AbstractServerDeploymentManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ServerDeploymentManager
- Direct Known Subclasses:
ModelControllerClientServerDeploymentManager
public abstract class AbstractServerDeploymentManager extends Object implements ServerDeploymentManager
- Author:
- Emanuel Muckenhuber, Brian Stansberry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.client.helpers.standalone.ServerDeploymentManager
ServerDeploymentManager.Factory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractServerDeploymentManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Future<ServerDeploymentPlanResult>execute(DeploymentPlan plan)Execute the deployment plan.protected abstract Future<org.jboss.dmr.ModelNode>executeOperation(Operation context)InitialDeploymentPlanBuildernewDeploymentPlan()Initiates the creation of a newDeploymentPlan.
-
-
-
Method Detail
-
newDeploymentPlan
public InitialDeploymentPlanBuilder newDeploymentPlan()
Initiates the creation of a newDeploymentPlan.- Specified by:
newDeploymentPlanin interfaceServerDeploymentManager- Returns:
- builder object for the
DeploymentPlan
-
execute
public Future<ServerDeploymentPlanResult> execute(DeploymentPlan plan)
Execute the deployment plan.- Specified by:
executein interfaceServerDeploymentManager- Parameters:
plan- the deployment plan- Returns:
Futurefrom which the results of the deployment plan can be obtained
-
-