org.seasar.junitcdi.core.internal
クラス ContainerLocalStorage

java.lang.Object
  上位を拡張 org.seasar.junitcdi.core.internal.ContainerLocalStorage
すべての実装されたインタフェース:
Extension

public class ContainerLocalStorage
extends Object
implements Extension

CDIコンテナ固有の情報を保持しておくためのExtensionです.

ExtensionはCDIコンテナ内でインスタンスが一つだけ生成される (CDI仕様「11.5. Container lifecycle events」より) こと,BeanとしてBeanManagerからルックアップできることを利用して, コンテナより先に作成されるものなど,非Beanのインスタンスをコンテナ単位で管理します.

作成者:
koichik

フィールドの概要
protected  org.jboss.weld.context.api.BeanStore applicationContextStore
          ApplicationScopedBeanStore
protected  org.jboss.weld.bootstrap.spi.Deployment deployment
          CDIコンテナの初期化に使用したDeployment
 
コンストラクタの概要
ContainerLocalStorage()
           
 
メソッドの概要
 org.jboss.weld.context.api.BeanStore getApplicationContextStore()
          ApplicationScopedBeanStoreを返します.
 org.jboss.weld.bootstrap.spi.Deployment getDeployment()
          CDIコンテナの初期化に使用したDeploymentを返します.
 void setApplicationContextStore(org.jboss.weld.context.api.BeanStore applicationContextStore)
          ApplicationScopedBeanStoreを設定します.
 void setDeployment(org.jboss.weld.bootstrap.spi.Deployment deployment)
          CDIコンテナの初期化に使用したDeploymentを設定します.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

deployment

protected org.jboss.weld.bootstrap.spi.Deployment deployment
CDIコンテナの初期化に使用したDeployment


applicationContextStore

protected org.jboss.weld.context.api.BeanStore applicationContextStore
ApplicationScopedBeanStore

コンストラクタの詳細

ContainerLocalStorage

public ContainerLocalStorage()
メソッドの詳細

getDeployment

public org.jboss.weld.bootstrap.spi.Deployment getDeployment()
CDIコンテナの初期化に使用したDeploymentを返します.

戻り値:
CDIコンテナの初期化に使用したDeployment

setDeployment

public void setDeployment(org.jboss.weld.bootstrap.spi.Deployment deployment)
CDIコンテナの初期化に使用したDeploymentを設定します.

パラメータ:
deployment - CDIコンテナの初期化に使用したDeployment

getApplicationContextStore

public org.jboss.weld.context.api.BeanStore getApplicationContextStore()
ApplicationScopedBeanStoreを返します.

戻り値:
ApplicationScopedBeanStore

setApplicationContextStore

public void setApplicationContextStore(org.jboss.weld.context.api.BeanStore applicationContextStore)
ApplicationScopedBeanStoreを設定します.

パラメータ:
applicationContextStore - ApplicationScopedBeanStore


Copyright © 2010 The Seasar Foundation. All Rights Reserved.