Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.J2eeApplication


                                    _configCtx, refs[i], wsep );
                            list.add(wr);
                         }
                     }
            } else if (bean instanceof J2eeApplication) {
                J2eeApplication app = (J2eeApplication) bean;
                if ( (app != null) &&
                    (app.getObjectType().equals( IAdminConstants.USER))) {
                   
                    // get all the web modules inside application
                    List l = lhelper.getSunWebXmlPathForApplication(
                                app.getName());
                    int size = l.size();
                    for (int j=0; j<size; j++) {
                        WebModuleReader wr = new WebModuleReaderImpl(_configCtx,
                            refs[i], null,
                            createSunWebApp((String)l.get(j)));
                        list.add(wr);
                    }
                    List l1 = lhelper.getSunEjbJarXmlPathForApplication(
                                app.getName());
                    int size1 = l1.size();
                    for (int j=0; j<size1; j++) {
                        List<WebserviceEndpoint> wsepList = createWebserviceEndpoint((String)l1.get(j));
                        for(WebserviceEndpoint wsep: wsepList){
                            WebModuleReader wr = new EjbJarModuleReaderImpl(_configCtx,
View Full Code Here


        ConfigBean wm, SunWebApp bean) {
        if (wm != null) {
            if (wm instanceof WebModule) {
                _wm = (WebModule) wm;
            } else if (wm instanceof J2eeApplication) {
                J2eeApplication jm = (J2eeApplication) wm;
                ElementProperty prop = null;
                String converged = null;
                prop = jm.getElementPropertyByName(IS_CONVERGED);
                if (prop != null)
                    converged = prop.getValue();
                isConverged = Boolean.valueOf(converged);
            }
            else {
View Full Code Here

                    WebModuleReader wr = new ExtensionModuleReaderImpl(_configCtx,
                            refs[i], bean);
                    list.add(wr);
                }
            } else if (bean instanceof J2eeApplication) {
                J2eeApplication app = (J2eeApplication) bean;

                if ((app != null) &&
                        (app.getObjectType().equals(IAdminConstants.USER))) {
                    // get all the web modules inside application
                    List l = lhelper.getSunWebXmlPathForApplication(app.getName());
                    int size = l.size();

                    for (int j = 0; j < size; j++) {
                        WebModuleReader wr = new WebModuleReaderImpl(_configCtx,
                                refs[i], app,
                                createSunWebApp((String) l.get(j)));
                        list.add(wr);
                    }

                    List l1 = lhelper.getSunEjbJarXmlPathForApplication(app.getName());
                    int size1 = l1.size();

                    for (int j = 0; j < size1; j++) {
                        List<WebserviceEndpoint> wsepList = createWebserviceEndpoint((String) l1.get(
                                    j));
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.J2eeApplication

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.