Class ContainerDeployController
java.lang.Object
org.jboss.arquillian.container.impl.client.container.ContainerDeployController
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.
- Author:
- Aslak Knutsen
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.arquillian.container.spi.event.DeployDeployment event) voiddeployManaged(org.jboss.arquillian.container.spi.event.DeployManagedDeployments event) Deploy all deployments marked as managed = true.voidundeploy(org.jboss.arquillian.container.spi.event.UnDeployDeployment event) voidundeployManaged(org.jboss.arquillian.container.spi.event.UnDeployManagedDeployments event) Undeploy all deployments marked as managed, and all manually deployed.
-
Constructor Details
-
ContainerDeployController
public ContainerDeployController()
-
-
Method Details
-
deployManaged
public void deployManaged(@Observes org.jboss.arquillian.container.spi.event.DeployManagedDeployments event) throws Exception Deploy all deployments marked as managed = true.- Throws:
Exception
-
undeployManaged
public void undeployManaged(@Observes org.jboss.arquillian.container.spi.event.UnDeployManagedDeployments event) throws Exception Undeploy all deployments marked as managed, and all manually deployed.- Throws:
Exception
-
deploy
public void deploy(@Observes org.jboss.arquillian.container.spi.event.DeployDeployment event) throws Exception - Throws:
Exception
-
undeploy
public void undeploy(@Observes org.jboss.arquillian.container.spi.event.UnDeployDeployment event) throws Exception - Throws:
Exception
-