类 SimpleNamingContext

  • 所有已实现的接口:
    Context

    @Deprecated
    public class SimpleNamingContext
    extends Object
    implements Context
    已过时。
    Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI
    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()