Package com.sun.enterprise.instance

Examples of com.sun.enterprise.instance.AppclientModulesManager


  throws ConfigException {

        if(saACManager == null) {

            // config manager for stand alone application client modules
      AppclientModulesManager acModuleManager =
    InstanceFactory.createAppclientModulesManager(getInstanceEnvironment());
           
            // manager for stand alone application client modules
            saACManager = new StandAloneAppClientModulesManager(
          acModuleManager, getSharedClassLoader());
View Full Code Here


            } else if(moduleType.equals(DeployableObjectType.WEB)) {
                return new WebModulesManager(insEnv);
            } else if(moduleType.equals(DeployableObjectType.CONN)) {
                return new ConnectorModulesManager(insEnv);
            } else if (moduleType.equals(DeployableObjectType.CAR)) {
                return new AppclientModulesManager(insEnv);
            } else {
                return new ExtensionModuleConfigManager(insEnv,
                    moduleType.getModuleType());
            }
        } catch (Exception e) {
View Full Code Here

                    // no ejb module by this name
                }
                if(appObjName == null) {
                    try {
                        appObjName = (ObjectName)getMBeanServer().invoke(appsObjName, "getAppclientModuleByName", new Object[] {appName}, new String[] {"java.lang.String" });
                        AppclientModulesManager appClientManager =
                            new AppclientModulesManager(iEnv);
                        appLocation =
                            appClientManager.getGeneratedXMLLocation(appName);
                    } catch(Exception ace) {
                        // no appclient module by this name
                    }
                }
                // the app name matches none of the applicable modules
View Full Code Here


    BundleDescriptor getDescrForStandAloneCarModule (String moduleName)
                throws ServerInstanceException {
        try {
            AppclientModulesManager appClModMgr =
                InstanceFactory.createAppclientModulesManager(getInstanceName());
            return (BundleDescriptor)
                DeploymentUtils.getDescriptor(moduleName, appClModMgr);
        } catch (Exception e) {
            throw new ServerInstanceException(e.getLocalizedMessage());
View Full Code Here

        }
        if ((instEnv = appServerContext.getInstanceEnvironment()) == null) {
            throw new ConfigException("Error getting current instance environment; appServercontext.getInstanceEnvironment() returned null");
        }
        appsManager = new AppsManager(instEnv, false);
        appclientModulesManager = new AppclientModulesManager(instEnv, false);
    }
View Full Code Here

    ///////////////////////////////////////////////////////////////////////////
   
    protected BaseManager createConfigManager(InstanceEnvironment ienv, ModuleEnvironment menv)
    throws IASDeploymentException, ConfigException
    {
  return  new AppclientModulesManager(ienv);
    }
View Full Code Here

                    relatedException = ce;
                    failedObjects.append(lineSep).append(" AppsManager(instEnv)");
                }

                try {
                    appclientModulesManager = new AppclientModulesManager(instEnv, false);
                } catch (ConfigException ce) {
                    relatedException = ce;  // Might override earlier assignment; ok, since it'd be rare and both are config exc.
                    failedObjects.append(lineSep).append(" AppclientModulesManager(instEnv)");
                }
            }
View Full Code Here

                    relatedException = ce;
                    failedObjects.append(lineSep).append(" AppsManager(instEnv)");
                }

                try {
                    appclientModulesManager = new AppclientModulesManager(instEnv, false);
                } catch (ConfigException ce) {
                    relatedException = ce;  // Might override earlier assignment; ok, since it'd be rare and both are config exc.
                    failedObjects.append(lineSep).append(" AppclientModulesManager(instEnv)");
                }
            }
View Full Code Here

TOP

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

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.