@Deprecated public void undeploy(Deployment deployment) throws org.jboss.deployers.spi.DeploymentException { delegate.undeploy(deployment); }
public void destroy(Deployment dep) { URL warURL = (URL)dep.getProperty(HttpSpec.PROPERTY_WEBAPP_URL); if (warURL == null) { log.error("Cannot obtain generated webapp URL"); return; } log.debug("destroyServiceEndpoint: " + warURL); try { org.jboss.deployers.client.spi.Deployment deployment = deploymentMap.get(warURL.toExternalForm()); if (deployment != null) { mainDeployer.undeploy(deployment); deploymentMap.remove(warURL.toExternalForm()); } } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }
public void undeploy(ServiceEndpointReference ref, ServerConfig serverConfig) throws Exception { getMainDeployer().undeploy(ref.getDeploymentName()); }
/** * Destroys dynamically published JAXWS endpoint on the JBoss server. * * @param context to be destroyed * @param endpoint to be unpublished */ public synchronized void destroy(final HttpContext context, final Endpoint endpoint) { try { final String contextRoot = context.getContextRoot(); final Deployment deployment = this.deployments.remove(contextRoot); if (deployment != null) { this.mainDeployer.undeploy(deployment); } } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }
public void destroy(Deployment dep) { try { AbstractDeployment deployment = createSimpleDeployment(dep.getService().getContextRoot()); mainDeployer.undeploy(deployment); } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }
private void undeploy(Deployment dep) { try { AbstractDeployment deployment = createSimpleDeployment(dep.getService().getContextRoot()); mainDeployer.undeploy(deployment); } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }
public void destroy(Deployment dep) { try { AbstractDeployment deployment = createSimpleDeployment(dep.getService().getContextRoot()); mainDeployer.undeploy(deployment); } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }
public void destroy(Deployment dep) { try { AbstractDeployment deployment = createSimpleDeployment(dep.getService().getContextRoot()); mainDeployer.undeploy(deployment); } catch (Exception ex) { WSFDeploymentException.rethrow(ex); } }