|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.framework.container.factory.component.PojoComponentDefBuilder
public class PojoComponentDefBuilder
Componentアノテーションを読み取りComponentDefを作成するコンポーネントの実装クラスです。
| コンストラクタの概要 | |
|---|---|
PojoComponentDefBuilder()
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
ComponentDef |
createComponentDef(AnnotationHandler annotationHandler,
java.lang.Class<?> componentClass,
InstanceDef defaultInstanceDef,
AutoBindingDef defaultAutoBindingDef,
boolean defaultExternalBinding)
コンポーネント定義を作成して返します。 |
protected AutoBindingDef |
getAutoBindingDef(Component component,
AutoBindingDef defaultAutoBindingDef)
自動バインディング定義を返します。 |
protected InstanceDef |
getInstanceDef(Component component,
InstanceDef defaultInstanceDef)
インスタンス定義を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public PojoComponentDefBuilder()
| メソッドの詳細 |
|---|
public ComponentDef createComponentDef(AnnotationHandler annotationHandler,
java.lang.Class<?> componentClass,
InstanceDef defaultInstanceDef,
AutoBindingDef defaultAutoBindingDef,
boolean defaultExternalBinding)
ComponentDefBuilder の記述:
ComponentDefBuilder 内の createComponentDefannotationHandler - このメソッドを呼び出しているアノテーションハンドラcomponentClass - コンポーネントのクラスdefaultInstanceDef - デフォルトのInstanceDefdefaultAutoBindingDef - デフォルトのAutoBindingDefdefaultExternalBinding - デフォルトの外部バインディグ
protected InstanceDef getInstanceDef(Component component,
InstanceDef defaultInstanceDef)
インスタンス定義を返します。
Component.instance()が指定されていればその値を返します。 指定されていない場合はデフォルト値を返します。
component - ComponentアノテーションdefaultInstanceDef - デフォルトのインスタンス定義
インスタンス定義
protected AutoBindingDef getAutoBindingDef(Component component,
AutoBindingDef defaultAutoBindingDef)
自動バインディング定義を返します。
Component.autoBinding()が指定されていればその値を返します。
指定されていない場合はデフォルト値を返します。
component - ComponentアノテーションdefaultAutoBindingDef - デフォルトの自動バインディング定義
自動バインディング定義
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||