01: /*
02: * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: */
07: package javax.servlet;
08:
09: /**
10: * The event object thrown when a servlet context change occurs.
11: *
12: * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a>
13: */
14: public class ServletContextEvent extends java.util.EventObject {
15: /**
16: * Constructor
17: */
18: public ServletContextEvent(ServletContext source) {
19: super (source);
20: }
21:
22: public ServletContext getServletContext() {
23: return (ServletContext) this.source;
24: }
25: }
|