Examples of undeploy()


Examples of com.fs.pxe.sfwk.mngmt.SystemAdminMBean.undeploy()

        SystemDescriptor desc = sdb.getDescriptor();
        ObjectName systemName = _domainAdminMBean.getSystem(desc.getName());
        SystemAdminMBean system = (SystemAdminMBean) resolveJmx(systemName, SystemAdminMBean.class);
        if (systemName != null && system != null) {
            logger.info("System '" + desc.getName() + "' already exist.  Undeploying...");
            system.undeploy();
        }

        systemName = _domainAdminMBean.deploySystemBundle(sdb);
        system = (SystemAdminMBean) resolveJmx(systemName, SystemAdminMBean.class);
        system.enable();

Examples of com.jcloisterzone.figure.Follower.undeploy()

    }

    @Override
    public void takePrisoner(Position p, Location loc, Class<? extends Meeple> meepleType, Integer meepleOwner) {
        Follower m = (Follower) game.getMeeple(p, loc, meepleType, game.getPlayer(meepleOwner));
        m.undeploy();
        //undeploy returns figure to owner -> we must handle capture / prisoner exchange
        Player me = getActivePlayer();
        if (m.getPlayer() != me) {
            TowerCapability towerCap = game.getCapability(TowerCapability.class);
            List<Follower> prisoners = towerCap.getPrisoners().get(m.getPlayer());

Examples of com.jcloisterzone.figure.Meeple.undeploy()

        Class<? extends Feature> cornType = getTile().getCornCircle();
        if (!cornType.isInstance(m.getFeature())) {
            logger.error("Improper feature type");
            return;
        }
        m.undeploy();
        nextCornPlayer();
    }

    @Override
    public void deployMeeple(Position p, Location loc, Class<? extends Meeple> meepleType) {

Examples of com.spotify.helios.client.HeliosClient.undeploy()

    final Deployment deployment = Deployment.of(jobId, START);
    final JobDeployResponse deployed = client.deploy(deployment, testHost()).get();
    assertEquals(JobDeployResponse.Status.OK, deployed.getStatus());

    final JobUndeployResponse undeployed = client.undeploy(jobId, testHost()).get();
    assertEquals(JobUndeployResponse.Status.OK, undeployed.getStatus());

    // Start agent
    startDefaultAgent(testHost(), "--id", agentId);

Examples of com.sun.appserv.management.deploy.DeploymentMgr.undeploy()

      removeAllRefs( moduleID );
     
    final DeploymentMgr  mgr  = getDeploymentMgr();
   
    final long  start  = now();
    final DeploymentStatus  status  = DeploymentSupport.mapToDeploymentStatus( mgr.undeploy( moduleID, null ) );
    assert( status.getStageStatus() == DeploymentStatus.STATUS_CODE_SUCCESS );
   
    printElapsed( "undeploy " + moduleID, start );
  }
 

Examples of com.sun.ejb.Container.undeploy()

                try {
                    // removes the bean container from the application registry
                    Container container = (Container) this.registry.
                            removeDescriptor2Container(nextDescriptor);
                    if (container != null) {
                        container.undeploy();
                    }

                } catch (Exception beanEx) {
                    result = false;
                    _logger.log(Level.WARNING,

Examples of com.sun.enterprise.deployment.client.DeploymentFacility.undeploy()

                if(refList.size() > 0)
                    targetNames = refList.toArray(new String[refList.size()]);
                else
                    targetNames=new String[]{"domain"};
            }
            progressObject = df.undeploy(df.createTargets(targetNames), appName, dProps);
            DeploymentStatus status = df.waitFor(progressObject);
            //we DO want it to continue and call the rest handlers, ie navigate(). This will
            //re-generate the table data because there may be some apps thats been undeployed
            //successfully.  If we stopProcessing, the table data is stale and still shows the
            //app that has been gone.

Examples of io.undertow.servlet.api.DeploymentManager.undeploy()

            HttpResponse result = client.execute(get);
            Assert.assertEquals(StatusCodes.OK, result.getStatusLine().getStatusCode());
            final String response = HttpClientUtils.readResponse(result);

            manager.stop();
            manager.undeploy();

            Assert.assertTrue(LifeCycleServlet.initCalled);
            Assert.assertTrue(LifeCycleServlet.destroyCalled);
            Assert.assertTrue(LifecycleFilter.initCalled);
            Assert.assertTrue(LifecycleFilter.destroyCalled);

Examples of javax.enterprise.deploy.spi.DeploymentManager.undeploy()

                        }
                    }
                    TargetModuleID[] ids = {runningIds[index]};

                    // undeploy the db pool
                    ProgressObject po = mgr.undeploy(ids);
                    waitForProgress(po);

                    if (po.getDeploymentStatus().isCompleted()) {
                        log.info("Undeployment completed successfully!");
                    }

Examples of javax.enterprise.deploy.spi.DeploymentManager.undeploy()

                        }
                    }
                    TargetModuleID[] ids = {runningIds[index]};

                    // undeploy the db pool
                    ProgressObject po = mgr.undeploy(ids);
                    waitForProgress(po);

                    if (po.getDeploymentStatus().isCompleted()) {
                        log.info("Undeployment completed successfully!");
                    }
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.