org.apache.catalina
クラス LifecycleEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.apache.catalina.LifecycleEvent
すべての実装インタフェース:
java.io.Serializable

public final class LifecycleEvent
extends java.util.EventObject

General event for notifying listeners of significant changes on a component that implements the Lifecycle interface. In particular, this will be useful on Containers, where these events replace the ContextInterceptor concept in Tomcat 3.x.

バージョン:
$Revision: 1.3 $ $Date: 2001/07/22 20:13:30 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

クラス java.util.EventObject から継承したフィールド
source
 
コンストラクタの概要
LifecycleEvent(Lifecycle lifecycle, java.lang.String type)
          Construct a new LifecycleEvent with the specified parameters.
LifecycleEvent(Lifecycle lifecycle, java.lang.String type, java.lang.Object data)
          Construct a new LifecycleEvent with the specified parameters.
 
メソッドの概要
 java.lang.Object getData()
          Return the event data of this event.
 Lifecycle getLifecycle()
          Return the Lifecycle on which this event occurred.
 java.lang.String getType()
          Return the event type of this event.
 
クラス java.util.EventObject から継承したメソッド
getSource, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

LifecycleEvent

public LifecycleEvent(Lifecycle lifecycle,
                      java.lang.String type)
Construct a new LifecycleEvent with the specified parameters.
パラメータ:
lifecycle - Component on which this event occurred
type - Event type (required)

LifecycleEvent

public LifecycleEvent(Lifecycle lifecycle,
                      java.lang.String type,
                      java.lang.Object data)
Construct a new LifecycleEvent with the specified parameters.
パラメータ:
lifecycle - Component on which this event occurred
type - Event type (required)
data - Event data (if any)
メソッドの詳細

getData

public java.lang.Object getData()
Return the event data of this event.

getLifecycle

public Lifecycle getLifecycle()
Return the Lifecycle on which this event occurred.

getType

public java.lang.String getType()
Return the event type of this event.


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.