com.github.smokestack.jndi
Class MockInitialContextFactory
java.lang.Object
com.github.smokestack.jndi.MockInitialContextFactory
- All Implemented Interfaces:
- InitialContextFactory
public class MockInitialContextFactory
- extends Object
- implements InitialContextFactory
- Author:
- gliptak
singleton
protected static MockContext singleton
MockInitialContextFactory
public MockInitialContextFactory()
getInitialContext
public Context getInitialContext(Hashtable environment)
throws NamingException
- Specified by:
getInitialContext
in interface InitialContextFactory
- Throws:
NamingException
_getInitialContext
public Context _getInitialContext(Hashtable environment)
throws NamingException
- Throws:
NamingException
releaseSingleton
protected static void releaseSingleton()
- Release singleton
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 Smokestack. All Rights Reserved.