Examples of undeploy()


Examples of org.jboss.test.deployers.vfs.deployer.validate.support.StructureOMFDeployer.undeploy()

         StructureMetaData metaData = unit.getAttachment(StructureMetaData.class);
         assertNotNull(metaData);
      }
      finally
      {
         deployer.undeploy(unit);
      }
   }

   public void testComparator() throws Exception
   {

Examples of org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.undeploy()

                    }
                }
                // END workaround
                DeploymentAspectManager dam = new DeploymentAspectManagerImpl();
                dam.setDeploymentAspects(aspects);
                dam.undeploy(deployment);
            } finally {
                SecurityActions.setContextClassLoader(origClassLoader);
            }
        }
    }

Examples of org.jboss.wsf.spi.deployer.Deployer.undeploy()

            testSOAPCall();
        } catch (Exception e) {
            e.printStackTrace();
            throw e;
        } finally {
            deployer.undeploy(archiveURL);
        }
    }

    private static void testWSDL() throws Exception {
        URLConnection conn = null;

Examples of org.jboss.wsf.spi.deployment.DeploymentAspectManager.undeploy()

                    }
                }
                // END workaround
                DeploymentAspectManager dam = new DeploymentAspectManagerImpl();
                dam.setDeploymentAspects(aspects);
                dam.undeploy(deployment);
            } finally {
                SecurityActions.setContextClassLoader(origClassLoader);
            }
        }
    }

Examples of org.jbpm.services.api.DeploymentService.undeploy()

                }
                break;
            case UNDEPLOY:
                try {
                    jobResult.getDeploymentUnit().setStatus(JaxbDeploymentStatus.UNDEPLOYING);
                    deploymentService.undeploy(deploymentUnit);
                    jobResult.getDeploymentUnit().setStatus(JaxbDeploymentStatus.UNDEPLOYED);
                    logger.debug("Deployment unit [{}] undeployed", deploymentId);
                    jobResult.setSuccess(false);
                    success = true;
                } catch (Exception e) {

Examples of org.jclouds.abiquo.domain.cloud.VirtualMachine.undeploy()

   @Override
   public void destroyNode(final String id) {
      VirtualMachineMonitor monitor = monitoringService.getVirtualMachineMonitor();
      VirtualMachine vm = getNode(id);
      vm.undeploy(true);
      monitor.awaitCompletionUndeploy(timeouts.nodeTerminated, TimeUnit.MILLISECONDS, vm);
      vm.delete();
   }

   @Override

Examples of org.jclouds.vcloud.director.v1_5.features.VAppApi.undeploy()

      // Undeploy the VApp if necessary
      if (vApp.isDeployed()) {
         try {
            UndeployVAppParams params = UndeployVAppParams.builder()
                     .undeployPowerAction(UndeployVAppParams.PowerAction.SHUTDOWN).build();
            Task undeployTask = vAppApi.undeploy(vAppUrn, params);
            taskDoneEventually(undeployTask);
         } catch (Exception e) {
            // keep going; cleanup as much as possible
            logger.warn(e, "Continuing cleanup after error undeploying VApp %s", vApp.getName());
         }

Examples of org.jdesktop.wonderland.modules.spi.ModuleDeployerSPI.undeploy()

             * Loop through each part type and see if there is a module part
             */
            for (String partType : partTypes) {
                if (parts.containsKey(partType) == true) {
                    try {
                        deployer.undeploy(partType, module, parts.get(partType));
                    } catch (java.lang.Exception excp) {
                        /*
                         * Catch all exceptions here. Report them and pass them
                         * up as DeployerException, but continue to
                         * the remainder of the deployers.

Examples of org.knopflerfish.axis.ObjectSOAPService.undeploy()

    Object serviceObj = soapService.getServiceObject();
   
    getAxisServer().getClassCache()
      .deregisterClass(soapService.getClass().getName());
   
    soapService.undeploy();
    log.info("removed service "+serviceName);

    exportedServices.remove(sr);
        }
       

Examples of org.modeshape.jcr.ModeShapeEngine.undeploy()

    public void stop( StopContext context ) {
        ModeShapeEngine engine = getEngine();
        if (engine != null) {
            try {
                // Undeploy the repository ...
                engine.undeploy(repositoryName());
            } catch (NoSuchRepositoryException e) {
                // The repository doesn't exist, so no worries ...
            }
        }
    }
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.