| パッケージ | 説明 |
|---|---|
| java.beans.beancontext |
Beanコンテキストに関連するクラスおよびインタフェースを提供します。
|
| 修飾子と型 | インタフェースと説明 |
|---|---|
interface |
BeanContext
BeanContextはJavaBeansの論理階層コンテナとして機能します。
|
interface |
BeanContextServices
BeanContextServicesインタフェースは、BeanContextChildオブジェクトがジェネリック・サービスを受けられるようにするためのメカニズムをBeanContextに提供します。
|
| 修飾子と型 | クラスと説明 |
|---|---|
class |
BeanContextChildSupport
BeanContextChildプロトコルの実装をサポートするための一般的なサポート・クラスです。
|
class |
BeanContextServicesSupport
このヘルパー・クラスは、java.beans.beancontext.BeanContextServicesインタフェースのユーティリティの実装を提供します。
|
class |
BeanContextSupport
このヘルパー・クラスは、java.beans.beancontext.BeanContextインタフェースのユーティリティの実装を提供します。
|
| 修飾子と型 | フィールドと説明 |
|---|---|
BeanContextChild |
BeanContextChildSupport.beanContextChildPeer
この
BeanContextChildが入れ子になっているBeanContext。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
BeanContextChild |
BeanContextChildSupport.getBeanContextChildPeer()
このBeanContextChildSupportに関連付けられているBeanContextChildを取得します。
|
BeanContextChild |
BeanContextProxy.getBeanContextProxy()
このオブジェクトに関連付けられている
BeanContextChild (またはサブインタフェース)を取得します。 |
protected static BeanContextChild |
BeanContextSupport.getChildBeanContextChild(Object child)
指定された子のBeanContextChild (存在する場合)を取得します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
URL |
BeanContext.getResource(String name, BeanContextChild bcc)
java.lang.ClassLoader.getResource()と同じように、このメソッドによってBeanContext実装で子のComponentとベースとなるClassLoaderの間に動作を挿入できます。 |
URL |
BeanContextSupport.getResource(String name, BeanContextChild bcc) |
InputStream |
BeanContext.getResourceAsStream(String name, BeanContextChild bcc)
java.lang.ClassLoader.getResourceAsStream()と同じように、このメソッドによってBeanContext実装で子のComponentとベースとなるClassLoaderの間に動作を挿入できます。 |
InputStream |
BeanContextSupport.getResourceAsStream(String name, BeanContextChild bcc) |
Object |
BeanContextServicesSupport.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
サービスを取得します。そのサービスは委譲されることもあります。
|
Object |
BeanContextServices.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
BeanContextChild、またはBeanContextChildに関連した任意のオブジェクトは、このメソッドを呼び出すことによって、入れ子になっているBeanContextServicesから現在登録されているサービスへの参照を取得できます。 |
void |
BeanContextServicesSupport.releaseService(BeanContextChild child, Object requestor, Object service)
サービスを解放します。
|
void |
BeanContextServices.releaseService(BeanContextChild child, Object requestor, Object service)
ベースとなる
BeanContextServiceProviderに対してreleaseService()を呼び出すことにより、BeanContextChild (またはBeanContextChildに関連した任意のオブジェクト)の、指定されたサービスへの参照を解放します。 |
| コンストラクタと説明 |
|---|
BeanContextChildSupport(BeanContextChild bcc)
JavaBeanコンポーネント自体がBeanContextChildを実装し、これをカプセル化しているBeanContextChildSupportを構築します。BeanContextChildインタフェースはこの実装に委譲されます。
|
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.