org.jboss.test.timer.servlet
Class InitTimerServlet
java.lang.Object
HttpServlet
org.jboss.test.timer.servlet.InitTimerServlet
- public class InitTimerServlet
- extends HttpServlet
A servlet that creates an ejb timer in its init method to test that timer
restoration on receipt of the server startup event does not try to create
a duplicate timer from this one.
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
void |
init(ServletConfig servletConfig)
Start an ejb timer from within the init method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitTimerServlet
public InitTimerServlet()
init
public void init(ServletConfig servletConfig)
throws ServletException
- Start an ejb timer from within the init method.
- Parameters:
servletConfig
-
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException