Package com.sun.appserv.management.deploy

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 );
  }
 
View Full Code Here


      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 );
  }
 
View Full Code Here

        return retVal;
    }
   
    private boolean undeployModule(ConnectionSource dasConnection, DeploymentStatus rollbackStatus) {
        DeploymentMgr deplMgr = ProxyFactory.getInstance(dasConnection).getDomainRoot().getDeploymentMgr();       
        Map undeployStatus = deplMgr.undeploy(moduleID, options);           
        com.sun.appserv.management.deploy.DeploymentStatus finalStatusFromMBean =
                            DeploymentSupport.mapToDeploymentStatus(undeployStatus);
        DeploymentStatus tmp = DeploymentClientUtils.getDeploymentStatusFromAdminStatus(finalStatusFromMBean);
        rollbackStatus.addSubStage(tmp);
        if (tmp!=null && tmp.getStatus() < DeploymentStatus.WARNING) {
View Full Code Here

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.