public void deploy(DeploymentInfo unit) throws DeploymentException { if (!ignoreDeployment(unit) && isWebServiceDeployment(unit)) { super.deploy(unit); // Calls create log.debug("deploy: " + unit.shortName); Deployment dep = getDeployment(unit); if (dep == null || (dep.getState() != Deployment.DeploymentState.CREATED) ) throw new DeploymentException("Create step failed"); getRuntime().start(dep); unit.context.put(Deployment.class, dep); } } }
public void deploy(DeploymentInfo unit) throws DeploymentException { if (!ignoreDeployment(unit) && isWebServiceDeployment(unit)) { super.deploy(unit); // Calls create log.debug("deploy: " + unit.shortName); Deployment dep = getDeployment(unit); if (dep == null || (dep.getState() != Deployment.DeploymentState.CREATED) ) throw new DeploymentException("Create step failed"); getRuntime().start(dep); unit.context.put(Deployment.class, dep); } } }