|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.liq.container.vocabulary.Components
public class Components
Component
のインスタンスを生成します。
ContainerVocabulary.component
コンストラクタの概要 | |
---|---|
Components()
|
メソッドの概要 | ||
---|---|---|
InjectableComponentList |
factory(java.lang.Class<?> type)
|
|
InjectableComponentList |
factory(java.lang.Object obj)
ObjectMethodComponentのリストを生成します。 |
|
InjectableComponentList |
from(ClassMethodFinder<?> finder)
他のコンポーネントのメソッドを使用してコンポーネントのインスタンスを構築する、 Componentのインスタンスを生成します。 |
|
|
from(ConstructorWrapper<T> ctor)
コンストラクタを使用してコンポーネントのインスタンスを構築する、 InjectableComponentのインスタンスを生成します。 |
|
|
from(ObjectMethodFinder finder)
オブジェクトのメソッドを使用してコンポーネントのインスタンスを構築する、 Componentのインスタンスを生成します。 |
|
|
instance(java.lang.Class<T> type,
T obj)
ObjectComponent を生成します。 |
|
|
mapping(java.lang.Class<T> type,
java.lang.Class<?> subtype)
MappingComponent を生成します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Components()
メソッドの詳細 |
---|
public <T> MappingComponent<T> mapping(java.lang.Class<T> type, java.lang.Class<?> subtype)
public <T> ObjectComponent<T> instance(java.lang.Class<T> type, T obj)
public InjectableComponentList factory(java.lang.Object obj)
obj
-
public InjectableComponentList factory(java.lang.Class<?> type)
public <T> ConstructorComponent<T> from(ConstructorWrapper<T> ctor)
ctor
- コンポーネントのインスタンスを生成するコンストラクタ
public <T> InjectableComponentList from(ObjectMethodFinder finder)
finder
- コンポーネントを生成するメソッド
public InjectableComponentList from(ClassMethodFinder<?> finder)
finder
- コンポーネントを生成するメソッド
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |