public class InitialContextAccessor extends InitialContext
Modifier and Type | Field and Description |
---|---|
static String |
ENV_CTX_NAME |
defaultInitCtx, gotDefault, myProps
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
Modifier | Constructor and Description |
---|---|
protected |
InitialContextAccessor() |
Modifier and Type | Method and Description |
---|---|
protected Context |
_getInitCtx() |
static Context |
getInitialContext()
Get access to the default initial context implementation
|
static boolean |
isAvailable()
Check for JNDI space availability
|
static boolean |
isWritable(Context ctx,
String prefix)
Try writing in JNDI space
|
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, doLookup, doLookup, getDefaultInitCtx, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getURLOrDefaultInitCtx, getURLOrDefaultInitCtx, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
public static final String ENV_CTX_NAME
protected InitialContextAccessor() throws NamingException
NamingException
protected Context _getInitCtx()
public static boolean isAvailable()
public static boolean isWritable(Context ctx, String prefix)
ctx
- public static Context getInitialContext()
Copyright © 2015 Nuxeo SA. All rights reserved.