|
||||||||||
| 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 |
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 |
org.jboss.deployers.spi.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 org.jboss.deployers.spi.DeploymentException
deployment - the deployment
org.jboss.deployers.spi.DeploymentException - for any error
boolean removeDeployment(Deployment deployment)
throws org.jboss.deployers.spi.DeploymentException
deployment - the deployment to remove
org.jboss.deployers.spi.DeploymentException - for any error
boolean removeDeployment(String name)
throws org.jboss.deployers.spi.DeploymentException
name - the name of the deployment
org.jboss.deployers.spi.DeploymentException - for any errorvoid process()
void deploy(Deployment... deployments)
throws org.jboss.deployers.spi.DeploymentException
deployments - the deployments
org.jboss.deployers.spi.DeploymentException - for any error
void undeploy(Deployment... deployments)
throws org.jboss.deployers.spi.DeploymentException
deployments - the deployments
org.jboss.deployers.spi.DeploymentException - for any error
void checkComplete()
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException - when some deployment is not complete
void checkComplete(Deployment... deployment)
throws org.jboss.deployers.spi.DeploymentException
deployment - the deployment
org.jboss.deployers.spi.DeploymentException - when some deployments are not complete
void checkComplete(String... names)
throws org.jboss.deployers.spi.DeploymentException
names - the deployment name
org.jboss.deployers.spi.DeploymentException - when some deployments are not complete
void checkStructureComplete(Deployment... deployments)
throws org.jboss.deployers.spi.DeploymentException
deployments - the deployments
org.jboss.deployers.spi.DeploymentException - when some deployments are not recognized
void checkStructureComplete(String... names)
throws org.jboss.deployers.spi.DeploymentException
names - the deployment names
org.jboss.deployers.spi.DeploymentException - when some deployments are not recognized
void undeploy(String... names)
throws org.jboss.deployers.spi.DeploymentException
names - the names of the deployments
org.jboss.deployers.spi.DeploymentException - for any errororg.jboss.deployers.spi.DeploymentState getDeploymentState(String name)
name - the name of the deployment
Map<String,org.jboss.managed.api.ManagedObject> getManagedObjects(String name)
throws org.jboss.deployers.spi.DeploymentException
name - the name of the deployment
org.jboss.deployers.spi.DeploymentException - for any error
org.jboss.util.graph.Graph<Map<String,org.jboss.managed.api.ManagedObject>> getDeepManagedObjects(String name)
throws org.jboss.deployers.spi.DeploymentException
name - - the name of the top-level DeploymentContext to process.
org.jboss.deployers.spi.DeploymentException - for any error
org.jboss.managed.api.ManagedDeployment getManagedDeployment(String name)
throws org.jboss.deployers.spi.DeploymentException
name - the name of the deployment
org.jboss.deployers.spi.DeploymentException - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||