Package com.googlecode.psiprobe.model

Examples of com.googlecode.psiprobe.model.ServletMapping


        List servletMaps = new ArrayList(sms.length);
        for(int i = 0; i < sms.length; i++) {
            if (sms[i] != null) {
                String sn = context.findServletMapping(sms[i]);
                if (sn != null) {
                    ServletMapping sm = new ServletMapping();
                    sm.setApplicationName(context.getName().length() > 0 ? context.getName() : "/");
                    sm.setUrl(sms[i]);
                    sm.setServletName(sn);
                    Container c = context.findChild(sn);
                    if (c instanceof Wrapper) {
                        Wrapper w = (Wrapper) c;
                        sm.setServletClass(w.getServletClass());
                        sm.setAvailable(! w.isUnavailable());
                    }
                    servletMaps.add(sm);
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.googlecode.psiprobe.model.ServletMapping

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.