org.seasar.framework.container.deployer
クラス SessionComponentDeployer

java.lang.Object
  拡張org.seasar.framework.container.deployer.AbstractComponentDeployer
      拡張org.seasar.framework.container.deployer.SessionComponentDeployer
すべての実装インタフェース:
ComponentDeployer

public class SessionComponentDeployer
extends AbstractComponentDeployer

session用のComponentDeployerです。

作成者:
higa

コンストラクタの概要
SessionComponentDeployer(ComponentDef componentDef)
          SessionComponentDeployerを作成します。
 
メソッドの概要
 Object deploy()
          インスタンス定義に応じてインスタンス生成や外部コンテキストへの配備などを行った後に、 そのコンポーネントのインスタンスを返します。
 void destroy()
          コンポーネントデプロイヤを破棄します。
 void init()
          コンポーネントデプロイヤを初期化します。
 void injectDependency(Object component)
          外部コンポーネントouterComponentに対し、 このコンポーネントデプロイヤコンポーネント定義に基づいて、 S2コンテナ上のコンポーネントをインジェクションします。
 
クラス org.seasar.framework.container.deployer.AbstractComponentDeployer から継承したメソッド
copyProperties, getComponentDef, getComponentName, getConstructorAssembler, getDestroyMethodAssembler, getInitMethodAssembler, getPropertyAssembler, setupAssembler
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SessionComponentDeployer

public SessionComponentDeployer(ComponentDef componentDef)
SessionComponentDeployerを作成します。

パラメータ:
componentDef -
メソッドの詳細

deploy

public Object deploy()
インタフェース ComponentDeployer の記述:
インスタンス定義に応じてインスタンス生成や外部コンテキストへの配備などを行った後に、 そのコンポーネントのインスタンスを返します。

戻り値:
コンポーネントのインスタンス
関連項目:
ComponentDeployer.deploy()

injectDependency

public void injectDependency(Object component)
インタフェース ComponentDeployer の記述:
外部コンポーネントouterComponentに対し、 このコンポーネントデプロイヤコンポーネント定義に基づいて、 S2コンテナ上のコンポーネントをインジェクションします。

パラメータ:
component - 外部コンポーネント
関連項目:
OuterComponentDeployer.injectDependency(Object)

init

public void init()
インタフェース ComponentDeployer の記述:
コンポーネントデプロイヤを初期化します。

デプロイするコンポーネントのインスタンス定義singletonの場合には、 アスペクトを適用したインスタンスの生成、 配備、 プロパティ設定の後に、 initMethodが呼ばれます。

関連項目:
ComponentDeployer.init()

destroy

public void destroy()
インタフェース ComponentDeployer の記述:
コンポーネントデプロイヤを破棄します。

デプロイするコンポーネントのインスタンス定義singletonの場合には、 destoryMethodが呼ばれます。

関連項目:
ComponentDeployer.destroy()


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.