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:
- javax.servlet.Servlet
public class ServletEventBridgeServlet
- extends AbstractServletEventBridge
- implements javax.servlet.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletEventBridgeServlet
public ServletEventBridgeServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Servlet
fireWebApplicationEvent
protected void fireWebApplicationEvent(Annotation qualifier)
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interface javax.servlet.Servlet
service
public void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException,
IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
Copyright © 2011 Seam Framework. All Rights Reserved.