org.jboss.seam.servlet.event
Class ServletEventBridgeServlet
java.lang.Object
org.jboss.seam.solder.beanManager.BeanManagerAware
org.jboss.seam.servlet.event.AbstractServletEventBridge
org.jboss.seam.servlet.event.ServletEventBridgeServlet
- All Implemented Interfaces:
- Servlet
public class ServletEventBridgeServlet
- extends AbstractServletEventBridge
- implements Servlet
Leverages the lifecycle of a Servlet to generate a CDI when the web application has been fully deployed and when it is
undeployed. This Servlet is assigned a high load-on-startup value (99999) in this module's web-fragment.xml to ensure it
comes last in the list of ordered Servlets.
- Author:
- Dan Allen
| Methods inherited from class org.jboss.seam.solder.beanManager.BeanManagerAware |
getBeanManager, getBeanManagerLocator, isBeanManagerAvailable, isBeanManagerInjected |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletEventBridgeServlet
public ServletEventBridgeServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init in interface Servlet
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy in interface Servlet
fireWebApplicationEvent
protected void fireWebApplicationEvent(Annotation qualifier)
getServletConfig
public ServletConfig getServletConfig()
- Specified by:
getServletConfig in interface Servlet
service
public void service(ServletRequest req,
ServletResponse res)
throws ServletException,
IOException
- Specified by:
service in interface Servlet
- Throws:
ServletException
IOException
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo in interface Servlet
Copyright © 2011 Seam Framework. All Rights Reserved.