Package org.springframework.mock.jndi

The simplest implementation of the JNDI SPI that could possibly work.

See:
          Description

Class Summary
ExpectedLookupTemplate Simple extension of the JndiTemplate class that always returns a given object.
SimpleNamingContext Simple implementation of a JNDI naming context.
SimpleNamingContextBuilder Simple implementation of a JNDI naming context builder.
 

Package org.springframework.mock.jndi Description

The simplest implementation of the JNDI SPI that could possibly work.

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.