org.jboss.arquillian.container.impl.client.container
Class ContainerDeployController

java.lang.Object
  extended by 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
static interface ContainerDeployController.Operation<T,X>
           
 
Constructor Summary
ContainerDeployController()
           
 
Method Summary
 void deploy(DeployDeployment event)
           
 void deployManaged(DeployManagedDeployments event)
          Deploy all deployments marked as managed = true.
 void undeploy(UnDeployDeployment event)
           
 void undeployManaged(UnDeployManagedDeployments event)
          Undeploy all deployments marked as managed, and all manually deployed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerDeployController

public ContainerDeployController()
Method Detail

deployManaged

public void deployManaged(@Observes
                          DeployManagedDeployments event)
                   throws Exception
Deploy all deployments marked as managed = true.

Parameters:
event -
Throws:
Exception

undeployManaged

public void undeployManaged(@Observes
                            UnDeployManagedDeployments event)
                     throws Exception
Undeploy all deployments marked as managed, and all manually deployed.

Parameters:
event -
Throws:
Exception

deploy

public void deploy(@Observes
                   DeployDeployment event)
            throws Exception
Throws:
Exception

undeploy

public void undeploy(@Observes
                     UnDeployDeployment event)
              throws Exception
Throws:
Exception


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.