Class ContainerDeployController
- java.lang.Object
-
- org.jboss.arquillian.container.impl.client.container.ContainerDeployController
-
public class ContainerDeployController extends Object
Controller for handling all Deployment related operations.
Fires DeployDeployment events for each deployment that should be deployed during startup. This so the Cores exception handling will be triggered if Deployment fails inside the context of the deployment and container. This lets extensions listen for Exceptions types and handle them inside the same context.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContainerDeployController.Operation<T,X>
-
Constructor Summary
Constructors Constructor Description ContainerDeployController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeployDeployment event)voiddeployManaged(DeployManagedDeployments event)Deploy all deployments marked as managed = true.voidundeploy(UnDeployDeployment event)voidundeployManaged(UnDeployManagedDeployments event)Undeploy all deployments marked as managed, and all manually deployed.
-
-
-
Method Detail
-
deployManaged
public void deployManaged(@Observes DeployManagedDeployments event) throws Exception
Deploy all deployments marked as managed = true.- Throws:
Exception
-
undeployManaged
public void undeployManaged(@Observes UnDeployManagedDeployments event) throws Exception
Undeploy all deployments marked as managed, and all manually deployed.- Throws:
Exception
-
deploy
public void deploy(@Observes DeployDeployment event) throws Exception
- Throws:
Exception
-
undeploy
public void undeploy(@Observes UnDeployDeployment event) throws Exception
- Throws:
Exception
-
-