|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fhw.cabaweb.webfrontend.servlets.TimerStrutsPlugin
Die Klasse dient als Plugin für Struts um den Timer im Hintergrund laufen zu lassen. Das PlugIn hat gegenüber dem Servlet den Vorteil, dass es beim hot deployment gestoppt wird. Es wird dann nach dem Deployment neu gestartet, das ist beim Servlet nicht sichergestellt.
Field Summary | |
(package private) org.quartz.Scheduler |
sched
Der Scheduler |
Constructor Summary | |
TimerStrutsPlugin()
|
Method Summary | |
void |
destroy()
|
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig moduleConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
org.quartz.Scheduler sched
Constructor Detail |
public TimerStrutsPlugin()
Method Detail |
public void init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig moduleConfig) throws javax.servlet.ServletException
init
in interface org.apache.struts.action.PlugIn
javax.servlet.ServletException
public void destroy()
destroy
in interface org.apache.struts.action.PlugIn
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |