/** * Undeploy event. * * @param event event to observe */ public void undeploy(@Observes final BeforeStop event) { if (extensionEnabled()) { debug("Catching BeforeStop event {0}", event.toString()); undeployDeployments = true; undeployEvent.fire(new UnDeployManagedDeployments()); } }
/** * Undeploy event. * * @param event event to observe */ public void undeploy(@Observes final BeforeStop event) { if (extensionEnabled()) { debug("Catching BeforeStop event {0}", event.toString()); undeployDeployments = true; undeployEvent.fire(new UnDeployManagedDeployments()); } }
public void execute(@Observes AfterClass event) { try { container.fire(new UnDeployManagedDeployments()); } finally { container.fire(new StopManualContainers()); container.fire(new StopClassContainers()); } }
public void execute(@Observes AfterClass event) { try { container.fire(new UnDeployManagedDeployments()); } finally { container.fire(new StopManualContainers()); container.fire(new StopClassContainers()); } }
scenario.deployment(new DeploymentTargetDescription(DEPLOYMENT_4_NAME)).deployed(); fire(new UnDeployManagedDeployments());