Package com.sun.enterprise.deployment.util

Examples of com.sun.enterprise.deployment.util.DeploymentProperties


                DeploymentFacilityModuleWork work = (DeploymentFacilityModuleWork) it.next();
                /*
                 *Set the name in the properties according to the moduleID.  The module is the same for all the
                 *targets represented by this single work object.
                 */
                DeploymentProperties dProps = getRedeployOptions(work.getModuleID());
                dProps.setType(getModuleTypeFor(work.getModuleID()));
                ProgressObject po = deploy(work.targets(), moduleArchive, deploymentPlan, dProps);

                /*
                 *The work instance needs to know about its own progress object, and the
                 *aggregate progress object needs to also.
View Full Code Here


    *Return deployment options for the DeploymentFacility preset for the needs of redeployment.
    *These properties will be merged with and will override the options set for normal deployment.
    *@return Properties with the conventional preset properties for redeployment
    */
   private DeploymentProperties getRedeployOptions(String moduleID) {
        DeploymentProperties deplProps = new DeploymentProperties();
        deplProps.setForce(true);
        deplProps.setName(moduleID);
        return deplProps;
   }
View Full Code Here

        progressObj.fireProgressEvent(event);
        return progressObj;
    }

    protected Properties getProperties(String archiveName, String moduleID) {
        DeploymentProperties dProps = new DeploymentProperties();
        dProps.setArchiveName(archiveName);
        dProps.setName(moduleID);
        dProps.setEnable(false);
        return (Properties)dProps;
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.util.DeploymentProperties

Copyright © 2018 www.massapicom. 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.