Package com.sun.enterprise.tools.common.dd.webapp

Examples of com.sun.enterprise.tools.common.dd.webapp.SunWebApp


        try {
            in = new FileInputStream(moduleInfo);
        } catch(FileNotFoundException fne) {
            throw new RepositoryException (fne);
        }
        SunWebApp sunWebApp = null;
        try {
            sunWebApp = SunWebApp.createGraph(in);
        } catch (Schema2BeansException sce) {
            throw new RepositoryException (sce);
        }

        // bundle name is null for stand alone module
        boolean isAppStandAloneModule = (bundleName==null) ? true : false;

        // all available servlets
        Servlet[] sLets = sunWebApp.getServlet();

        Map wsMap = new HashMap();
        for (int sCnt =0; sCnt < sLets.length; sCnt++) {
            Servlet sLet = sLets[sCnt];

            // all end points for this servlet
            WebserviceEndpoint[] webSvcEps = sLet.getWebserviceEndpoint();

            for ( int wsCnt = 0; wsCnt < webSvcEps.length; wsCnt++) {
                WebserviceEndpoint webSvc = webSvcEps[wsCnt];

                // context root for web service endpoint
                String ctxRoot = sunWebApp.getContextRoot();
                String uriInConfig = getUriInDomainConfig(appId);
                if (uriInConfig != null) {
                    ctxRoot = uriInConfig;
                }
                String uri;
View Full Code Here


        } catch (FileNotFoundException fne) {
            fne.printStackTrace();
            System.out.println(" File could not opened " + URL2);
        }

        SunWebApp sunWebApp = null;
        try {
            sunWebApp = SunWebApp.createGraph(in);
        } catch (Exception e) {
            e.printStackTrace();
            System.out.println(" Sun web app bean creation failed  " );
View Full Code Here

        } catch (FileNotFoundException fne) {
            _logger.log(Level.WARNING,
            _sMgr.getString("http_lb_admin.sunweb.xml.not.found", l))
        }

        SunWebApp sw = null;
        try {
            sw = SunWebApp.createGraph(in);
        } catch( Exception e) {
            _logger.log(Level.WARNING,
            _sMgr.getString("http_lb_admin.sunweb.bean.create.failed", e))
View Full Code Here

        } catch (FileNotFoundException fne) {
            _logger.log(Level.WARNING,
                _sMgr.getString("sip.clbadmin.sunweb.xml.not.found", l));
        }

        SunWebApp sw = null;

        try {
            sw = SunWebApp.createGraph(in);
        } catch (Exception e) {
            _logger.log(Level.WARNING,
View Full Code Here

TOP

Related Classes of com.sun.enterprise.tools.common.dd.webapp.SunWebApp

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.