new InitialContext()
will always return a context from this factory. Use the emptyActivatedContextBuilder()
static method to get an empty context (for example, in test methods).
@throws IllegalStateException if there's already a naming context builderregistered with the JNDI NamingManager
|
|
|
|
|
|
|
|