|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeployerClient
DeployerClient.
Method Summary | |
---|---|
void |
addDeployment(Deployment deployment)
Add a deployment |
void |
change(String deploymentName,
DeploymentStage stage)
Change the state of a deployment |
void |
checkComplete()
Check all the deployments are complete |
void |
checkComplete(Deployment... deployment)
Check if deployments are complete |
void |
checkComplete(String... names)
Check if deployments are complete |
void |
checkStructureComplete(Deployment... deployments)
Check if deployments are recognized |
void |
checkStructureComplete(String... names)
Check if deployments are recognized |
void |
deploy(Deployment... deployments)
Deploy the deployments |
org.jboss.util.graph.Graph<Map<String,org.jboss.managed.api.ManagedObject>> |
getDeepManagedObjects(String name)
Get the graph of managed objects starting with the top-level deployment associated with name. |
Deployment |
getDeployment(String name)
Get a deployment |
DeploymentStage |
getDeploymentStage(String deploymentName)
Get the deployment stage for a deployment |
DeploymentState |
getDeploymentState(String name)
Get a the state of deployment |
org.jboss.managed.api.ManagedDeployment |
getManagedDeployment(String name)
Get the managed deployment. |
Map<String,org.jboss.managed.api.ManagedObject> |
getManagedObjects(String name)
Get the managed objects for a deployment context. |
Collection<Deployment> |
getTopLevel()
Get the top level deployments |
void |
process()
Process the outstanding deployments. |
boolean |
removeDeployment(Deployment deployment)
Remove a deployment |
boolean |
removeDeployment(String name)
Remove a deployment by name |
void |
undeploy(Deployment... deployments)
Undeploy the deployments |
void |
undeploy(String... names)
Undeploy a deployments by name |
Method Detail |
---|
Collection<Deployment> getTopLevel()
Deployment getDeployment(String name)
name
- the name of the deployment
void addDeployment(Deployment deployment) throws DeploymentException
deployment
- the deployment
DeploymentException
- for any errorboolean removeDeployment(Deployment deployment) throws DeploymentException
deployment
- the deployment to remove
DeploymentException
- for any errorboolean removeDeployment(String name) throws DeploymentException
name
- the name of the deployment
DeploymentException
- for any errorvoid process()
void deploy(Deployment... deployments) throws DeploymentException
deployments
- the deployments
DeploymentException
- for any errorvoid undeploy(Deployment... deployments) throws DeploymentException
deployments
- the deployments
DeploymentException
- for any errorvoid change(String deploymentName, DeploymentStage stage) throws DeploymentException
deploymentName
- the deployment namestage
- the stage
DeploymentException
- for any errorDeploymentStage getDeploymentStage(String deploymentName) throws DeploymentException
deploymentName
- the deployment name
DeploymentException
- for any errorvoid checkComplete() throws DeploymentException
DeploymentException
- when some deployment is not completevoid checkComplete(Deployment... deployment) throws DeploymentException
deployment
- the deployment
DeploymentException
- when some deployments are not completevoid checkComplete(String... names) throws DeploymentException
names
- the deployment name
DeploymentException
- when some deployments are not completevoid checkStructureComplete(Deployment... deployments) throws DeploymentException
deployments
- the deployments
DeploymentException
- when some deployments are not recognizedvoid checkStructureComplete(String... names) throws DeploymentException
names
- the deployment names
DeploymentException
- when some deployments are not recognizedvoid undeploy(String... names) throws DeploymentException
names
- the names of the deployments
DeploymentException
- for any errorDeploymentState getDeploymentState(String name)
name
- the name of the deployment
Map<String,org.jboss.managed.api.ManagedObject> getManagedObjects(String name) throws DeploymentException
name
- the name of the deployment
DeploymentException
- for any errororg.jboss.util.graph.Graph<Map<String,org.jboss.managed.api.ManagedObject>> getDeepManagedObjects(String name) throws DeploymentException
name
- - the name of the top-level DeploymentContext to process.
DeploymentException
- for any errororg.jboss.managed.api.ManagedDeployment getManagedDeployment(String name) throws DeploymentException
name
- the name of the deployment
DeploymentException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |