类 SimpleNamingContext

  • 所有已实现的接口:
    Context

    public class SimpleNamingContext
    extends Object
    implements Context
    Simple implementation of a JNDI naming context. Only supports binding plain Objects to String names. Mainly for test environments, but also usable for standalone applications.

    This class is not intended for direct usage by applications, although it can be used for example to override JndiTemplate's createInitialContext method in unit tests. Typically, SimpleNamingContextBuilder will be used to set up a JVM-level JNDI environment.

    作者:
    Rod Johnson, Juergen Hoeller
    另请参阅:
    SimpleNamingContextBuilder, JndiTemplate.createInitialContext()