Package com.sun.enterprise.config.serverbeans

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


        } else if (type.equals(DeployableObjectType.CONN)) {
            result = new ConnectorModule();
        } else if (type.equals(DeployableObjectType.EJB)) {
            result = new EjbModule();
        } else if (type.equals(DeployableObjectType.WEB)) {
            result = new WebModule();
        } else {
            result = new ExtensionModule();
        }
        return result;
    }
View Full Code Here


        long b = System.currentTimeMillis();

        _logger.log(Level.FINE, "synchronization.start.download.bits", appName);

        WebModule app = null;
        try {
            app = ((Domain)_ctx.getRootConfigBean()).
                                    getApplications().
                                    getWebModuleByName(appName);
        } catch (ConfigException ce) {
View Full Code Here

            ConfigBean parent = (ConfigBean) bean.parent();
            if (parent instanceof J2eeApplication) {
                J2eeApplication app = (J2eeApplication) parent;
                name = app.getName();
            } else if (parent instanceof WebModule) {
                WebModule wm = (WebModule) parent;
                name = wm.getName();
            } else if (parent instanceof EjbModule) {
                EjbModule em = (EjbModule) parent;
                name = em.getName();
            }
        }
View Full Code Here

            ConfigBean parent = (ConfigBean) bean.parent();
            if (parent instanceof J2eeApplication) {
                J2eeApplication app = (J2eeApplication) parent;
                name = app.getName();
            } else if (parent instanceof WebModule) {
                WebModule wm = (WebModule) parent;
                name = wm.getName();
            } else if (parent instanceof EjbModule) {
                EjbModule em = (EjbModule) parent;
                name = em.getName();
            }
        }
View Full Code Here

                throw new LbReaderException(msg, ce);
            }
            LocationHelper lhelper = new LocationHelperImpl(_configCtx);
            if (bean instanceof WebModule) {

                WebModule wMod = (WebModule) bean;
                if ( ( wMod != null) &&
                    ( wMod.getObjectType().equals( IAdminConstants.USER))) {
                   
                    String l =lhelper.getSunWebXmlPathForModule(wMod.getName());
                    WebModuleReader wr = new WebModuleReaderImpl(_configCtx,
                        refs[i], bean, createSunWebApp(l));
                    list.add(wr);
                }
            }else if(bean instanceof EjbModule) {
View Full Code Here

            }

            LocationHelper lhelper = new LocationHelper(_configCtx);

            if (bean instanceof WebModule) {
                WebModule wMod = (WebModule) bean;

                if ((wMod != null) &&
                        (wMod.getObjectType().equals(IAdminConstants.USER))) {
                    String l = lhelper.getSunWebXmlPathForModule(wMod.getName());
                    WebModuleReader wr = new WebModuleReaderImpl(_configCtx,
                            refs[i], bean, createSunWebApp(l));
                    list.add(wr);
                }
            } else if (bean instanceof ExtensionModule) {
View Full Code Here

TOP

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

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.