org.mule.tck.jndi
Class InMemoryContextFactory

java.lang.Object
  extended by org.mule.tck.jndi.InMemoryContextFactory
All Implemented Interfaces:
InitialContextFactory
Direct Known Subclasses:
TestContextFactory

public class InMemoryContextFactory
extends Object
implements InitialContextFactory

Simple in-memory JNDI context for unit testing.


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

Constructor Detail

InMemoryContextFactory

public InMemoryContextFactory()
Method Detail

getInitialContext

public Context getInitialContext()
                          throws NamingException
Throws:
NamingException

getInitialContext

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


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.