01: package com.ice.jcvsweb.schedule;
02:
03: import javax.servlet.ServletContext;
04:
05: public class ScheduledEvent implements Runnable {
06: private ServletContext ctx = null;
07:
08: public ScheduledEvent(ServletContext ctx) {
09: this .ctx = ctx;
10: }
11:
12: public ServletContext getServletContext() {
13: return this .ctx;
14: }
15:
16: public void run() {
17: this .ctx.log("ScheduledEvent class '"
18: + this .getClass().getName()
19: + "' does not properly subclass run()");
20: }
21:
22: }
|