org.jboss.test.web.servlets
Class EJBOnStartupServlet
java.lang.Object
HttpServlet
org.jboss.test.web.servlets.EJBOnStartupServlet
- public class EJBOnStartupServlet
- extends HttpServlet
A servlet that accesses an EJB inside its init and destroy methods
to test web component startup ordering with respect to ebj components.
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
|
void |
init(ServletConfig config)
|
protected void |
processRequest(HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBOnStartupServlet
public EJBOnStartupServlet()
init
public void init(ServletConfig config)
throws ServletException
- Throws:
ServletException
destroy
public void destroy()
processRequest
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException