Package com.interface21.jndi.mock

Mock implementation of the JNDI SPI.


Class Summary
MockContext Mock JNDI naming context.
MockInitialContextFactoryBuilder Mock JNDI naming context builder.

Package com.interface21.jndi.mock Description

Mock implementation of the JNDI SPI.

Useful for setting up a simple JNDI environment for test suites or standalone applications. If e.g. JDBC DataSources get bound to the same JNDI names as within a J2EE container, both application code and configuration can me reused without changes.

Rod Johnson and Spring contributors 2001-2003.