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); } }
@Override public boolean isWebServiceDeployment(DeploymentInfo unit) { WebservicesMetaData wsMetaData = getWebservicesMetaData(unit, "WEB-INF/webservices.xml"); return (wsMetaData!=null && super.isWebServiceDeployment(unit)); }
@Override public boolean isWebServiceDeployment(DeploymentInfo unit) { WebservicesMetaData wsMetaData = getWebservicesMetaData(unit, "WEB-INF/webservices.xml"); return (wsMetaData!=null && super.isWebServiceDeployment(unit)); }
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); } }
@Override public boolean isWebServiceDeployment(DeploymentInfo unit) { WebservicesMetaData wsMetaData = getWebservicesMetaData(unit, "WEB-INF/webservices.xml"); return (wsMetaData!=null && super.isWebServiceDeployment(unit)); } }