org.seasar.framework.container.assembler
クラス SemiAutoPropertyAssembler
java.lang.Object
org.seasar.framework.container.assembler.AbstractAssembler
org.seasar.framework.container.assembler.AbstractPropertyAssembler
org.seasar.framework.container.assembler.SemiAutoPropertyAssembler
- すべての実装インタフェース:
- PropertyAssembler
- public class SemiAutoPropertyAssembler
- extends AbstractPropertyAssembler
セミオートでプロパティのバインディングを行うアセンブラです。
セミオートアセンブラは明示的にPropertyDefの
設定されたプロパティまたはフィールドのみをバインディングの対象とします。
バインディングはorg.seasar.framework.container.BindingTypeShouldDef
によって行われます。
バインディング対象となるプロパティはManualOnlyPropertyAssemblerと
同じですが、バインディングの方法が異なります。
- 作成者:
- higa
|
メソッドの概要 |
void |
assemble(Object component)
指定されたcomponentに対して、 プロパティ・インジェクションやフィールド・インジェクションを実行します。
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SemiAutoPropertyAssembler
public SemiAutoPropertyAssembler(ComponentDef componentDef)
- パラメータ:
componentDef -
assemble
public void assemble(Object component)
- インタフェース
PropertyAssembler の記述:
- 指定された
componentに対して、 プロパティ・インジェクションやフィールド・インジェクションを実行します。
コンポーネント定義のexternalBinding属性がtrueにも関わらず、
ExternalContextがS2コンテナに設定されていない場合には、
EmptyRuntimeExceptionをスローします。
- パラメータ:
component - S2コンテナ上のコンポーネントがセットされる対象
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.