public class EnterpriseIntitalContext extends InitialContext
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
Constructor and Description |
---|
EnterpriseIntitalContext() |
EnterpriseIntitalContext(Hashtable<?,?> environment)
Constructs an initial context using the supplied environment.
|
Modifier and Type | Method and Description |
---|---|
protected Context |
getURLOrDefaultInitCtx(String name) |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, doLookup, doLookup, getDefaultInitCtx, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getURLOrDefaultInitCtx, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
public EnterpriseIntitalContext() throws NamingException
NamingException
public EnterpriseIntitalContext(Hashtable<?,?> environment) throws NamingException
This constructor will not modify environment or save a reference to it, but may save a clone.
environment
- environment used to create the initial context.
Null indicates an empty environment.NamingException
- if a naming exception is encounteredprotected Context getURLOrDefaultInitCtx(String name) throws NamingException
getURLOrDefaultInitCtx
in class InitialContext
NamingException
Copyright © 2005–2023 Apache Software Foundation. All rights reserved.