|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.naming.AbstractContext | +--org.apache.avalon.excalibur.naming.AbstractLocalContext | +--org.apache.avalon.excalibur.naming.memory.MemoryContext
An in memory context implementation.
Field Summary |
Fields inherited from interface javax.naming.Context |
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 Summary | |
|
MemoryContext(Namespace namespace,
Hashtable environment,
Context parent)
Deprecated. |
protected |
MemoryContext(Namespace namespace,
Hashtable environment,
Context parent,
Hashtable bindings)
Deprecated. |
Method Summary | |
protected Context |
cloneContext()
Deprecated. |
protected void |
doLocalBind(Name name,
Object object)
Deprecated. |
protected NamingEnumeration |
doLocalList()
Deprecated. |
protected NamingEnumeration |
doLocalListBindings()
Deprecated. |
protected Object |
doLocalLookup(Name name)
Deprecated. Actually lookup raw entry in local context. |
protected void |
doLocalUnbind(Name name)
Deprecated. Actually unbind raw entry in local context. |
protected Context |
newContext()
Deprecated. |
Methods inherited from class org.apache.avalon.excalibur.naming.AbstractLocalContext |
bind, checkUnbindContext, close, createSubcontext, destroySubcontext, getNameInNamespace, getNameParser, getNamespace, getParent, isDestroyableContext, list, listBindings, localLookup, lookup, lookupSubContext, unbind |
Methods inherited from class org.apache.avalon.excalibur.naming.AbstractContext |
addToEnvironment, bind, bind, composeName, composeName, createSubcontext, destroySubcontext, getEnvironment, getLeafName, getNameParser, getNameParser, getPathName, getRawEnvironment, isSelf, list, listBindings, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected MemoryContext(Namespace namespace, Hashtable environment, Context parent, Hashtable bindings)
public MemoryContext(Namespace namespace, Hashtable environment, Context parent)
Method Detail |
protected Context newContext() throws NamingException
newContext
in class AbstractLocalContext
NamingException
protected Context cloneContext() throws NamingException
cloneContext
in class AbstractLocalContext
NamingException
protected void doLocalBind(Name name, Object object) throws NamingException
doLocalBind
in class AbstractLocalContext
NamingException
protected NamingEnumeration doLocalList() throws NamingException
doLocalList
in class AbstractLocalContext
NamingException
protected NamingEnumeration doLocalListBindings() throws NamingException
doLocalListBindings
in class AbstractLocalContext
NamingException
protected Object doLocalLookup(Name name) throws NamingException
doLocalLookup
in class AbstractLocalContext
name
- the name in local context (size() == 1)
NamingException
- if an error occursprotected void doLocalUnbind(Name name) throws NamingException
doLocalUnbind
in class AbstractLocalContext
name
- the name in local context (size() == 1)
NamingException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |