home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / servlet-api.jar / javax / servlet / ServletContextAttributeEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-08-28  |  833 b   |  21 lines

  1. package javax.servlet;
  2.  
  3. public class ServletContextAttributeEvent extends ServletContextEvent {
  4.    private String name;
  5.    private Object value;
  6.  
  7.    public ServletContextAttributeEvent(ServletContext source, String name, Object value) {
  8.       super(source);
  9.       this.name = name;
  10.       this.value = value;
  11.    }
  12.  
  13.    public String getName() {
  14.       return this.name;
  15.    }
  16.  
  17.    public Object getValue() {
  18.       return this.value;
  19.    }
  20. }
  21.