/** Check the current deployment states and generate a IncompleteDeploymentException * if there are mbeans waiting for depedencies. * @exception IncompleteDeploymentException * @jmx.managed-operation */ public void checkIncompleteDeployments() throws DeploymentException { try { delegate.checkComplete(); } catch (Exception e) { throw new DeploymentException("Deployments are incomplete", e); } }
delegate.checkComplete(deployment);
/** * Describe <code>redeploy</code> method here. * * @param url an <code>URL</code> value * @exception DeploymentException if an error occurs * @jmx.managed-operation */ public void redeploy(URL url) throws DeploymentException { String deploymentName = contextMap.get(url); if (deploymentName != null) { try { Deployment deployment = delegate.getDeployment(deploymentName); delegate.addDeployment(deployment); delegate.process(); delegate.checkComplete(deployment); } catch (org.jboss.deployers.spi.DeploymentException e) { throw new DeploymentException(e); } } else { deploy(url); } }