|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
このインターフェースは、 コンポーネントの状態に対するアクセスタイプ定義を表します。
与えられたコンポーネントに対し、 アクセスタイプ定義に基づいて、 S2コンテナ上のコンポーネントをインジェクションする機能も提供します。
アクセスタイプ定義には、 以下のものがあります。
property
field
アクセスタイプ定義は、ファクトリ
経由で取得します。
PropertyDef
フィールドの概要 | |
static java.lang.String |
FIELD_NAME
アクセスタイプ定義 field を表す定数です。 |
static java.lang.String |
PROPERTY_NAME
アクセスタイプ定義 property を表す定数です。 |
メソッドの概要 | |
void |
bind(ComponentDef componentDef,
PropertyDef propertyDef,
BindingTypeDef bindingTypeDef,
java.lang.Object component)
アクセスタイプ定義に基づいて、 component のプロパティまたはフィールドにS2コンテナ上のコンポーネントをインジェクションします。 |
void |
bind(ComponentDef componentDef,
PropertyDef propertyDef,
java.lang.Object component)
アクセスタイプ定義に基づいて、 component のプロパティまたはフィールドにS2コンテナ上のコンポーネントをインジェクションします。 |
java.lang.String |
getName()
アクセスタイプ定義名を返します。 |
フィールドの詳細 |
public static final java.lang.String PROPERTY_NAME
property
を表す定数です。
public static final java.lang.String FIELD_NAME
field
を表す定数です。
メソッドの詳細 |
public java.lang.String getName()
PROPERTY_NAME
,
FIELD_NAME
public void bind(ComponentDef componentDef, PropertyDef propertyDef, java.lang.Object component)
component
のプロパティまたはフィールドにS2コンテナ上のコンポーネントをインジェクションします。
componentDef
- コンポーネント定義propertyDef
- プロパティ定義component
- コンポーネントpublic void bind(ComponentDef componentDef, PropertyDef propertyDef, BindingTypeDef bindingTypeDef, java.lang.Object component)
component
のプロパティまたはフィールドにS2コンテナ上のコンポーネントをインジェクションします。
componentDef
- コンポーネント定義propertyDef
- プロパティ定義bindingTypeDef
- バインディングタイプ定義component
- コンポーネント
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |