public void deploy(DeploymentInfo unit) throws DeploymentException { if (ignoreDeployment(unit)) return; if (!ignoreDeployment(unit) && isWebServiceDeployment(unit)) { log.debug("deploy: " + unit.shortName); Deployment dep = getDeployment(unit); if(null==dep || Deployment.DeploymentState.CREATED != dep.getState()) throw new DeploymentException("Create step is missing"); getRuntime().start(dep); } }
public void deploy(DeploymentInfo unit) throws DeploymentException { if (ignoreDeployment(unit)) return; if (!ignoreDeployment(unit) && isWebServiceDeployment(unit)) { log.debug("deploy: " + unit.shortName); Deployment dep = getDeployment(unit); if(null==dep || Deployment.DeploymentState.CREATED != dep.getState()) throw new DeploymentException("Create step is missing"); getRuntime().start(dep); } }