public class SessionComponentDeployer extends AbstractComponentDeployer
ComponentDeployerです。| コンストラクタと説明 |
|---|
SessionComponentDeployer(ComponentDef componentDef)
SessionComponentDeployerを作成します。 |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Object |
deploy()
インスタンス定義に応じてインスタンス生成や外部コンテキストへの配備などを行った後に、 そのコンポーネントのインスタンスを返します。
|
void |
destroy()
コンポーネントデプロイヤを破棄します。
|
void |
init()
コンポーネントデプロイヤを初期化します。
|
void |
injectDependency(Object component)
|
getComponentDef, getComponentName, getConstructorAssembler, getDestroyMethodAssembler, getInitMethodAssembler, getPropertyAssembler, setupAssemblerpublic SessionComponentDeployer(ComponentDef componentDef)
SessionComponentDeployerを作成します。componentDef - public Object deploy()
ComponentDeployerComponentDeployer.deploy()public void injectDependency(Object component)
ComponentDeployercomponent - 外部コンポーネントOuterComponentDeployer.injectDependency(Object)public void init()
ComponentDeployer
デプロイするコンポーネントのインスタンス定義がsingletonの場合には、
アスペクトを適用したインスタンスの生成、 配備、 プロパティ設定の後に、
initMethodが呼ばれます。
ComponentDeployer.init()public void destroy()
ComponentDeployer
デプロイするコンポーネントのインスタンス定義がsingletonの場合には、
destoryMethodが呼ばれます。
Copyright © 2015 The DBFlute Project. All rights reserved.