
public class ContainerDeployController extends Object
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContainerDeployController.Operation<T,X> |
| Constructor and Description |
|---|
ContainerDeployController() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void deployManaged(@Observes DeployManagedDeployments event) throws Exception
Exceptionpublic void undeployManaged(@Observes UnDeployManagedDeployments event) throws Exception
Exceptionpublic void deploy(@Observes DeployDeployment event) throws Exception
Exceptionpublic void undeploy(@Observes UnDeployDeployment event) throws Exception
ExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.