Package com.sun.enterprise.server

Examples of com.sun.enterprise.server.ApplicationRegistry


                String location = j2eeApp.getLocation();
                String moduleDir =
                    DeploymentUtils.getRelativeEmbeddedModulePath(
                        location, moduleID);
             
                ApplicationRegistry registry =
                    ApplicationRegistry.getInstance();
                ClassLoader appLoader =
                    registry.getClassLoaderForApplication(appID);
                if (appLoader != null) {
                    Application appDesc = registry.getApplication(appLoader);
                    if (appDesc != null) {
                        Set wbds = appDesc.getWebBundleDescriptors();
                        WebBundleDescriptor wbd = null;
                        for (Iterator itr = wbds.iterator(); itr.hasNext(); ) {
                            wbd = (WebBundleDescriptor) itr.next();
View Full Code Here


    public Object getContainer(Object info) {

        Object[] params = (Object[])info;
        Class cls = (Class)params[0];

        ApplicationRegistry reg = ApplicationRegistry.getInstance();
        Application app = reg.getApplication(cls.getClassLoader());
        EjbCMPEntityDescriptor desc = app.getCMPDescriptorFor((String)params[1]);

        return reg.getContainer(desc);
    }
View Full Code Here

            isEnabled(j2eeAppBean.getConfigContext(), j2eeAppBean.getName())) {
            String id = j2eeAppBean.getName();
            String location = j2eeAppBean.getLocation();
            String resourceType = j2eeAppBean.getObjectType();

            ApplicationRegistry registry = ApplicationRegistry.getInstance();
            ClassLoader appLoader = registry.getClassLoaderForApplication(id);
            if (appLoader == null) {
                return null;
            }

            Application appDesc = registry.getApplication(appLoader);
            
            // Check to see if this app had deployed successfully (4663247)
            if(appDesc == null){
                Object[] params = { id };
                _logger.log(Level.SEVERE, "webcontainer.notLoaded", params);
View Full Code Here

     */
    private boolean enableWSMonitoring(String id)    {

       boolean result = true;

       ApplicationRegistry registry = ApplicationRegistry.getInstance();
            ClassLoader appLoader = registry.getClassLoaderForApplication(id);
            if (appLoader != null) {
                Application appDesc = registry.getApplication(appLoader);
            
                // Check to see if this app had deployed successfully (4663247)
                if(appDesc == null){
                    Object[] params = { id };
                    _logger.log(Level.SEVERE, "webcontainer.notLoaded",
View Full Code Here

            isEnabled(j2eeAppBean.getConfigContext(), j2eeAppBean.getName())) {
            String id = j2eeAppBean.getName();
            String location = j2eeAppBean.getLocation();
            String resourceType = j2eeAppBean.getObjectType();

            ApplicationRegistry registry = ApplicationRegistry.getInstance();
            ClassLoader appLoader = registry.getClassLoaderForApplication(id);
            if (appLoader == null) {
                return;
            }

            Application appDesc = registry.getApplication(appLoader);
            
            // Check to see if this app had deployed successfully (4663247)
            if(appDesc == null){
                Object[] params = { id };
                _logger.log(Level.SEVERE, "webcontainer.notLoaded",
View Full Code Here

TOP

Related Classes of com.sun.enterprise.server.ApplicationRegistry

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.