Package com.sun.enterprise.deployment.client

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


                dProps.setProperty(DeploymentProperties.ENABLE, enableFlag.toString());
           
            if (addFlag)
                progressObject = df.createAppRef(df.createTargets(targetNames), appName, dProps);
            else
                progressObject = df.deleteAppRef(df.createTargets(targetNames), appName, dProps);
            DeploymentStatus status = df.waitFor(progressObject);
            checkDeployStatus(status, handlerCtx, true);
        }
    }
   
View Full Code Here


                {
                    //CLILogger.getInstance().printError(getLocalizedString("InvalidTarget"));
                    throw new CommandException(_strMgr.getString("InvalidTarget", new Object[] {targetName}));
                }

                progressObject = df.deleteAppRef(targets, moduleID, props);
            } else
            {
                CLILogger.getInstance().printError(
                                   getLocalizedString("CouldNotConnectToDAS"));
            }
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.