org.codehaus.spice.jndikit.memory
Class StaticMemoryInitialContextFactory

java.lang.Object
  extended byorg.codehaus.spice.jndikit.memory.StaticMemoryInitialContextFactory
All Implemented Interfaces:
InitialContextFactory

public class StaticMemoryInitialContextFactory
extends Object
implements InitialContextFactory

Initial context factory for memorycontext. This factory will retrieve the MemoryContext from a static variable. Thus this factory will always return the same instance of memory context.

Version:
$Revision: 1.1 $
Author:
Peter Donald

Constructor Summary
StaticMemoryInitialContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticMemoryInitialContextFactory

public StaticMemoryInitialContextFactory()
Method Detail

getInitialContext

public Context getInitialContext(Hashtable environment)
                          throws NamingException
Specified by:
getInitialContext in interface InitialContextFactory
Throws:
NamingException


Copyright © 1999-2005 Codehaus. All Rights Reserved.