public class SimpleJndiContextFactory extends ContextFactory implements InitialContextFactory
MemoryContextFactory this factory could theoretically (untested) return another Context implementation than MemoryContext by setting SimpleJndi.CONTEXT_FACTORY to a different InitialContextFactory Implementation.| Modifier and Type | Field and Description |
|---|---|
private static ConcurrentHashMap<String,DelimiterConvertingContext> |
contextsByRoot |
| Constructor and Description |
|---|
SimpleJndiContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
clearCache()
package-private: Only for Testing!
|
Context |
getInitialContext(Hashtable environment) |
initializeStandardJndiEnvironment, overwriteEnvironmentWithSystemPropertiesprivate static final ConcurrentHashMap<String,DelimiterConvertingContext> contextsByRoot
static void clearCache()
public Context getInitialContext(Hashtable environment) throws NamingException
getInitialContext in interface InitialContextFactoryNamingExceptionInitialContextFactory.getInitialContext(java.util.Hashtable)Copyright © 2020. All rights reserved.