org.stringtree.jndi
Class InMemoryContextFactory

java.lang.Object
  extended by org.stringtree.jndi.InMemoryContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

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


Field Summary
private static InMemoryContext singleton
           
 
Constructor Summary
InMemoryContextFactory()
           
 
Method Summary
static void clear()
           
 javax.naming.Context getInitialContext(java.util.Hashtable env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

private static InMemoryContext singleton
Constructor Detail

InMemoryContextFactory

public InMemoryContextFactory()
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable env)
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory

clear

public static void clear()