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 stand-alone applications. If, for example, JDBC DataSources get bound to the same JNDI names as within a Java EE container, both application code and configuration can be reused without changes.