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

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

public class JndiContextFactory
extends Object
implements InitialContextFactory

JndiContextのファクトリです.

作成者:
koichik

コンストラクタの概要
JndiContextFactory()
           
 
メソッドの概要
static Context getContext()
          現在のスレッドに関連づけられているCDI環境からJNDI Contextを取得して返します.
 Context getInitialContext(Hashtable<?,?> env)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JndiContextFactory

public JndiContextFactory()
メソッドの詳細

getContext

public static Context getContext()
現在のスレッドに関連づけられているCDI環境からJNDI Contextを取得して返します.

戻り値:
現在のスレッドに関連づけられているCDI環境のJNDI Context

getInitialContext

public Context getInitialContext(Hashtable<?,?> env)
定義:
インタフェース InitialContextFactory 内の getInitialContext


Copyright © 2010 The Seasar Foundation. All Rights Reserved.