org.apache.avalon.excalibur.naming.memory
クラス MemoryInitialContextFactory

java.lang.Object
  |
  +--org.apache.avalon.excalibur.naming.memory.MemoryInitialContextFactory
すべての実装インタフェース:
javax.naming.spi.InitialContextFactory

public class MemoryInitialContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

Initial context factory for memorycontext.

WARNING: This class should never be use used in a real system. It is is just a class that demonstrates how to write a basic InitialContextFactory for MemeoryContext. However this factory creates a new Context every time which is rarely desired behaviour.

In a real application you may want the policy of Context creation to be specific application. Some strategies include.

バージョン:
$Revision: 1.4 $
作成者:
Peter Donald

コンストラクタの概要
MemoryInitialContextFactory()
           
 
メソッドの概要
 javax.naming.Context getInitialContext(java.util.Hashtable environment)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MemoryInitialContextFactory

public MemoryInitialContextFactory()
メソッドの詳細

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable environment)
                                       throws javax.naming.NamingException
定義:
インタフェース javax.naming.spi.InitialContextFactory 内の getInitialContext


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."