/** * Is deployed. * * @param name the name of the deployment * @return true if deployed, false otherwise */ protected boolean checkDeployed(String name) { org.jboss.deployers.spi.DeploymentState deploymentState = delegate.getDeploymentState(name); log.debug("isDeployed, url="+name+", state="+deploymentState); return deploymentState == org.jboss.deployers.spi.DeploymentState.DEPLOYED; }