| 
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.container.deployer.AbstractComponentDeployer
org.seasar.framework.container.deployer.ApplicationComponentDeployer
インスタンス属性がapplication用のComponentDeployerです。
| コンストラクタの概要 | |
ApplicationComponentDeployer(ComponentDef componentDef)
ApplicationComponentDeployerを作成します。 | 
|
| メソッドの概要 | |
 java.lang.Object | 
deploy()
インスタンス定義に応じてインスタンス生成や外部コンテキストへの配備などを行った後に、 そのコンポーネントのインスタンスを返します。  | 
 void | 
destroy()
コンポーネントデプロイヤを破棄します。  | 
 void | 
init()
コンポーネントデプロイヤを初期化します。  | 
 void | 
injectDependency(java.lang.Object component)
外部コンポーネント outerComponentに対し、 このコンポーネントデプロイヤのコンポーネント定義に基づいて、
 S2コンテナ上のコンポーネントをインジェクションします。 | 
| クラス org.seasar.framework.container.deployer.AbstractComponentDeployer から継承したメソッド | 
getComponentDef, getComponentName, getConstructorAssembler, getDestroyMethodAssembler, getInitMethodAssembler, getPropertyAssembler, setupAssembler | 
| クラス java.lang.Object から継承したメソッド | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| コンストラクタの詳細 | 
public ApplicationComponentDeployer(ComponentDef componentDef)
ApplicationComponentDeployerを作成します。
componentDef - | メソッドの詳細 | 
public java.lang.Object deploy()
ComponentDeployer の記述: 
SingletonComponentDeployer.deploy(), 
PrototypeComponentDeployer.deploy(), 
deploy(), 
RequestComponentDeployer.deploy(), 
SessionComponentDeployer.deploy()public void injectDependency(java.lang.Object component)
ComponentDeployer の記述: outerComponentに対し、 このコンポーネントデプロイヤのコンポーネント定義に基づいて、
 S2コンテナ上のコンポーネントをインジェクションします。
component - 外部コンポーネントOuterComponentDeployer.injectDependency(Object)public void init()
ComponentDeployer の記述: 
 デプロイするコンポーネントのインスタンス定義がsingletonの場合には、
 アスペクトを適用したインスタンスの生成、 配備、 プロパティ設定の後に、
 initMethodが呼ばれます。
 
SingletonComponentDeployer.init(), 
DefaultInitMethodAssembler.assemble(Object)public void destroy()
ComponentDeployer の記述: 
 デプロイするコンポーネントのインスタンス定義がsingletonの場合には、
 destoryMethodが呼ばれます。
 
SingletonComponentDeployer.destroy(), 
DefaultDestroyMethodAssembler.assemble(Object)
  | 
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||