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: * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a>
11: */
12: public class ServletContextAttributeEvent extends ServletContextEvent {
13: private String name;
14:
15: private Object value;
16:
17: public ServletContextAttributeEvent(ServletContext source,
18: String name, Object value) {
19: super (source);
20: this .name = name;
21: this .value = value;
22: }
23:
24: public String getName() {
25: return this .name;
26: }
27:
28: public Object getValue() {
29: return this.value;
30: }
31: }
|