Package com.sun.enterprise.instance

Examples of com.sun.enterprise.instance.ApplicationEnvironment


        public static File signedGeneratedAppclientJarFile(
                UserContentOrigin origin,
                InstanceEnvironment instEnv,
                File generatedAppclientFile) {
            String regName = origin.getTopLevelRegistrationName();
            ApplicationEnvironment appEnv = instEnv.getApplicationEnvironment(regName);
            File result = new File(appEnv.getJavaWebStartPath(), signedJarPath(generatedAppclientFile.getName()));
            return result;
        }
View Full Code Here


         *@param instEnv InstanceEnvironment for the current instance
         *@param regName the module name of the app for which the j-w-s directory is needed
         *@return the directory file for the app's java-web-start subdirectory
         */
        private static File getAppJWSDir(InstanceEnvironment instEnv, String regName) {
            ApplicationEnvironment appEnv = instEnv.getApplicationEnvironment(regName);
            String appJWSDirPath = appEnv.getJavaWebStartPath();
            File appJWSDir = new File(appJWSDirPath);
            return appJWSDir;
        }
View Full Code Here

          "enterprise.deployment.backend.null_instanceenvironment" );
      throw new IASDeploymentException( msg );
    }
   
    if(isApplication())
      appEnv = new ApplicationEnvironment(instanceEnv, name);
    else if(isWebModule())
      moduleEnv = new ModuleEnvironment(instanceEnv, name, DeployableObjectType.WEB);
    else if(isEjbModule())
      moduleEnv = new ModuleEnvironment(instanceEnv, name, DeployableObjectType.EJB);
    else if(isConnectorModule())
View Full Code Here

        String getLocation() {
            return appBean.getLocation();
        }

        String getGeneratedXMLLocation() {
            ApplicationEnvironment env = instEnv.getApplicationEnvironment(appBean.getName());
            return env.getAppGeneratedXMLPath();
        }
View Full Code Here

  ///////////////////////////////////////////////////////////////////////////

        protected File setAppDir() throws IASDeploymentException {
            // brand-new deployment, so no versioning required.
            ApplicationEnvironment aenv = getAppEnv();
            File appDirectory;
           
            if(isArchive()) {
                File parent = new File(getInstanceEnv().getApplicationRepositoryPath());
                appDirectory = new File(parent, getAppName());
View Full Code Here

TOP

Related Classes of com.sun.enterprise.instance.ApplicationEnvironment

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.