Java org.springframework.mock.jndi SimpleNamingContextBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.mock.jndi SimpleNamingContextBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.mock.jndi SimpleNamingContextBuilder.

The text is from its open source code.

Constructor

Method

voidactivate()
Register the context builder by registering it with the JNDI NamingManager.
voidbind(String name, Object obj)
Bind the given object under the given name, for all naming contexts that this context builder will generate.
voidclear()
Clear all bindings in this context builder, while keeping it active.
InitialContextFactorycreateInitialContextFactory(@Nullable Hashtable environment)
Simple InitialContextFactoryBuilder implementation, creating a new SimpleNamingContext instance.
voiddeactivate()
Temporarily deactivate this context builder.
SimpleNamingContextBuilderemptyActivatedContextBuilder()
If no SimpleNamingContextBuilder is already configuring JNDI, create and activate one.
SimpleNamingContextBuildergetCurrentContextBuilder()
Checks if a SimpleNamingContextBuilder is active.