Java プラットフォーム 1.2

java.beans.beancontext
クラス BeanContextServiceRevokedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.beans.beancontext.BeanContextEvent
              |
              +--java.beans.beancontext.BeanContextServiceRevokedEvent

public class BeanContextServiceRevokedEvent
extends BeanContextEvent

このイベント型は、無効にされるサービスを識別するために BeanContextServicesListener によって使用されます。

関連項目:
直列化された形式

フィールドの概要
protected  Class serviceClass
          フィールドです。
 
クラス java.beans.beancontext.BeanContextEvent から継承したフィールド
propagatedFrom
 
クラス java.util.EventObject から継承したフィールド
source
 
コンストラクタの概要
BeanContextServiceRevokedEvent(BeanContextServices bcs, Class sc, boolean invalidate)
          BeanContextServiceEvent を構築します。
 
メソッドの概要
 Class getServiceClass()
          この通知の主体であるサービスクラスを取得します。
 BeanContextServices getSourceAsBeanContextServices()
          BeanContextServices 型の参照としてソースを取得します。
 boolean isCurrentServiceInvalidNow()
          現在のサービスの参照が無効化されていて、使用できない場合に true になります。
 boolean isServiceClass(Class service)
          サービスが同じであるかどうかを判定します。
 
クラス java.beans.beancontext.BeanContextEvent から継承したメソッド
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom
 
クラス java.util.EventObject から継承したメソッド
getSource, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

serviceClass

protected Class serviceClass
フィールドです。
コンストラクタの詳細

BeanContextServiceRevokedEvent

public BeanContextServiceRevokedEvent(BeanContextServices bcs,
                                      Class sc,
                                      boolean invalidate)
BeanContextServiceEvent を構築します。
メソッドの詳細

getSourceAsBeanContextServices

public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices 型の参照としてソースを取得します。

getServiceClass

public Class getServiceClass()
この通知の主体であるサービスクラスを取得します。

isServiceClass

public boolean isServiceClass(Class service)
サービスが同じであるかどうかを判定します。

isCurrentServiceInvalidNow

public boolean isCurrentServiceInvalidNow()
現在のサービスの参照が無効化されていて、使用できない場合に true になります。

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.