|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.sqlunit.test.mock.MockInitialContextFactory
public class MockInitialContextFactory
Builds a MockInitialContext using an environment Hashtable.
| Constructor Summary | |
|---|---|
MockInitialContextFactory()
Instantiates a MockInitialContextFactory. |
|
| Method Summary | |
|---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Builds and returns a MockInitialContext object pre-filled with a named DataSource object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockInitialContextFactory()
| Method Detail |
|---|
public final javax.naming.Context getInitialContext(java.util.Hashtable env)
throws javax.naming.NamingException
getInitialContext in interface javax.naming.spi.InitialContextFactoryenv - a Hashtable of properies to instantiate the InitialContext.
javax.naming.NamingException - if an error occurs building an InitialContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||