org.mule.tck.jndi
Class TestContextFactory
java.lang.Object
org.mule.tck.jndi.InMemoryContextFactory
org.mule.tck.jndi.TestContextFactory
- All Implemented Interfaces:
- InitialContextFactory
public class TestContextFactory
- extends InMemoryContextFactory
Creates an in-memory context and populates it with test data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestContextFactory
public TestContextFactory()
getInitialContext
public Context getInitialContext()
throws NamingException
- Overrides:
getInitialContext
in class InMemoryContextFactory
- Throws:
NamingException
getInitialContext
public Context getInitialContext(Hashtable environment)
throws NamingException
- Specified by:
getInitialContext
in interface InitialContextFactory
- Overrides:
getInitialContext
in class InMemoryContextFactory
- Throws:
NamingException
populateTestData
protected void populateTestData(Context context)
throws NamingException
- Throws:
NamingException
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.