org.mule.tck.jndi
Class InMemoryContextFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryContextFactory
public InMemoryContextFactory()
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.