public class MockInitialContext extends InitialContext
Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
map |
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 |
---|
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, unbind
public MockInitialContext() throws NamingException
NamingException
public Object lookup(String name) throws NamingException
lookup
in interface Context
lookup
in class InitialContext
NamingException
Copyright © 2005–2018 QOS.ch. All rights reserved.