程序包 org.springframework.mock.jndi
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.
类概要 类 说明 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.