javax.servlet
クラス ServletContextEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.servlet.ServletContextEvent
すべての実装インタフェース:
java.io.Serializable
直系の既知のサブクラス:
ServletContextAttributeEvent

public class ServletContextEvent
extends java.util.EventObject

This is the event class for notifications about changes to the servlet context of a web application.

導入されたバージョン:
v 2.3
関連項目:
ServletContextListener, 直列化された形式

フィールドの概要
 
クラス java.util.EventObject から継承したフィールド
source
 
コンストラクタの概要
ServletContextEvent(ServletContext source)
          Construct a ServletContextEvent from the given context.
 
メソッドの概要
 ServletContext getServletContext()
          Return the ServletContext that changed.
 
クラス java.util.EventObject から継承したメソッド
getSource, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ServletContextEvent

public ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.

パラメータ:
source - - the ServletContext that is sending the event.
メソッドの詳細

getServletContext

public ServletContext getServletContext()
Return the ServletContext that changed.

戻り値:
the ServletContext that sent the event.


Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.