インタフェース
java.beans.beancontext.BeanContextServicesの使用
BeanContextServicesを使用するパッケージ
-
java.beans.beancontextでのBeanContextServicesの使用
BeanContextServicesを実装しているjava.beans.beancontextのクラス修飾子と型クラス説明classこのヘルパー・クラスは、java.beans.beancontext.BeanContextServicesインタフェースのユーティリティの実装を提供します。修飾子と型メソッド説明BeanContextServicesSupport.getBeanContextServicesPeer()BeanContextServiceAvailableEvent.getSourceAsBeanContextServices()BeanContextServices型の参照としてソースを取得します。BeanContextServiceRevokedEvent.getSourceAsBeanContextServices()BeanContextServices型の参照としてソースを取得します型BeanContextServicesのパラメータを持つjava.beans.beancontextのメソッド修飾子と型メソッド説明Iterator<?>BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs, Class<?> serviceClass) BeanContextServicesによって呼び出されるこのメソッドは、指定されたサービスの現在のサービス・セレクタを取得します。Iterator<?>BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs, Class<?> serviceClass) BeanContextServiceProvider.getService(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) BeanContextServicesによって呼び出されるこのメソッドは、このBeanContextServiceProviderからのサービスのインスタンスをリクエストします。BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) voidBeanContextServiceProvider.releaseService(BeanContextServices bcs, Object requestor, Object service) BeanContextServicesによって呼び出されるこのメソッドは、入れ子になったBeanContextChild(またはBeanContextChildに関連付けられている任意のオブジェクト)の、指定されたサービスへの参照を解放します。voidBeanContextServicesSupport.BCSSProxyServiceProvider.releaseService(BeanContextServices bcs, Object requestor, Object service) 型BeanContextServicesのパラメータを持つjava.beans.beancontextのコンストラクタ修飾子コンストラクタ説明BeanContextServiceAvailableEvent(BeanContextServices bcs, Class<?> sc) BeanContextAvailableServiceEventを構築します。BeanContextServiceRevokedEvent(BeanContextServices bcs, Class<?> sc, boolean invalidate) BeanContextServiceEventを構築します。ピアを使ってインスタンスを生成します。BeanContextServicesSupport(BeanContextServices peer, Locale lcle) 指定されたロケールを使ってインスタンスを生成します。BeanContextServicesSupport(BeanContextServices peer, Locale lcle, boolean dtime) 指定されたロケールを使って設計モードでインスタンスを生成します。BeanContextServicesSupport(BeanContextServices peer, Locale lcle, boolean dTime, boolean visible) BeanContextServicesSupportのインスタンスを生成します。