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 protected
AbstractServerDeploymentManager()
-
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<ModelNode>
executeOperation(Operation context)
InitialDeploymentPlanBuilder
newDeploymentPlan()
Initiates the creation of a newDeploymentPlan
.
-
-
-
Method Detail
-
newDeploymentPlan
public InitialDeploymentPlanBuilder newDeploymentPlan()
Initiates the creation of a newDeploymentPlan
.- Specified by:
newDeploymentPlan
in interfaceServerDeploymentManager
- Returns:
- builder object for the
DeploymentPlan
-
execute
public Future<ServerDeploymentPlanResult> execute(DeploymentPlan plan)
Execute the deployment plan.- Specified by:
execute
in interfaceServerDeploymentManager
- Parameters:
plan
- the deployment plan- Returns:
Future
from which the results of the deployment plan can be obtained
-
-