Examples of undeploy()


Examples of org.mule.registry.Assembly.undeploy()

  public String undeploy(String saName) throws Exception {
    Assembly assembly = this.registry.getAssembly(saName);
    if (assembly == null) {
      throw new JBIException("Assembly not deployed: " + saName);
    }
    return assembly.undeploy();
  }

  public String[] getDeployedServiceUnitList(String componentName)
      throws Exception {
    RegistryComponent component = this.registry.getComponent(componentName);

Examples of org.rioproject.deploy.DeployAdmin.undeploy()

                final JDialog waitDialog = new WaitingDialog(frame, "Undeploying "+name+"...", 500);
                org.rioproject.tools.ui.util.SwingWorker worker = new org.rioproject.tools.ui.util.SwingWorker() {
                    public Object construct() {
                        try {
                            DeployAdmin dAdmin = (DeployAdmin)node.getProvisionMonitor().getAdmin();
                            dAdmin.undeploy(name);
                        } catch(OperationalStringException e) {
                            graphView.removeOpString(name);
                        } catch(Exception e) {
                            System.err.println("OUCH");
                            e.printStackTrace();

Examples of org.springframework.osgi.web.deployer.WarDeployment.undeploy()

      public void doRun() {
        WarDeployment deployment = (WarDeployment) bundlesToDeployments.remove(bundle);
        // double check that we do have a deployment
        if (deployment != null)
          try {
            deployment.undeploy();
          } catch (OsgiWarDeploymentException ex) {
            // log exception
            log.error("War undeployment of bundle " + bundleName + " failed", ex);
          }
      }

Examples of org.wso2.carbon.bpel.ode.integration.store.TenantProcessStoreImpl.undeploy()

        if(log.isDebugEnabled()) {
            log.debug("Starting undeployment of BPEL package " + packageName);
        }
        TenantProcessStoreImpl tenantProcessStore = getTenantProcessStore();
        try{
            tenantProcessStore.undeploy(packageName);
        } catch (Exception e) {
            log.error("Undeploying BPEL package " + packageName + " failed.", e);
           return UndeployStatus_type0.FAILED;
        }

Examples of org.wso2.carbon.server.WebApplication.undeploy()

    private void undeployWebapps(String[] webappFileNames,
                                 Map<String, WebApplication> webapps) throws AxisFault {
        for (String webappFileName : webappFileNames) {
            WebApplication webapp = webapps.get(webappFileName);
            try {
                webapp.undeploy();
                webapps.remove(webappFileName);
            } catch (CarbonException e) {
                handleException("Could not delete webapp " + webapp, e);
            }
        }

Examples of uk.co.brunella.osgi.bdt.repository.Deployer.undeploy()

    if (!checkRepository(repositoryDirectory)) {
      return false;
    }
    Deployer deployer = new Deployer(repositoryDirectory);
    Version version = Version.parseVersion(bundleVersion);
    deployer.undeploy(bundleSymbolicName, version, true);
    System.out.println("Undeployed bundle " + bundleSymbolicName + " version " + version.toString() +
        " from repository " + repositoryDirectory);
    return true;
  }
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.