public class MockInitialContext extends InitialContext
| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
map |
defaultInitCtx, gotDefault, myPropsAPPLET, 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 |
|---|
MockInitialContext() |
| Modifier and Type | Method and Description |
|---|---|
Object |
lookup(String name) |
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, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindpublic MockInitialContext() throws NamingException
NamingExceptionpublic Object lookup(String name) throws NamingException
lookup in interface Contextlookup in class InitialContextNamingExceptionCopyright © 2005–2018 QOS.ch. All rights reserved.