Package org.jboss.seam.servlet

Examples of org.jboss.seam.servlet.WebApplication


*/
public class ServletEventBridgeListener extends AbstractServletEventBridge implements HttpSessionActivationListener,
        HttpSessionListener, ServletContextListener, ServletRequestListener {
    public void contextInitialized(final ServletContextEvent e) {
        fireEvent(new InternalServletContextEvent(e.getServletContext()), InitializedLiteral.INSTANCE);
        WebApplication webapp = new WebApplication(e.getServletContext());
        e.getServletContext().setAttribute(WEB_APPLICATION_ATTRIBUTE_NAME, webapp);
        fireEvent(webapp, InitializedLiteral.INSTANCE);
        fireEvent(e.getServletContext(), InitializedLiteral.INSTANCE);
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.servlet.WebApplication

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.