|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jndi.toolkit.ctx.PartialCompositeContext
com.sun.jndi.toolkit.ctx.ComponentContext
com.sun.jndi.toolkit.ctx.AtomicContext
public abstract class AtomicContext
Clients: deal only with names for its own naming service and deals with single contexts that can be built up into hierarchical naming systems. Direct subclasses of AtomicContext must provide implementations for the abstract a_ Context methods, and c_parseComponent(). If the subclass implements the notion of implicit nns, it must override the a_*_nns Context methods as well.
| Field Summary |
|---|
| Fields inherited from class com.sun.jndi.toolkit.ctx.ComponentContext |
|---|
TERMINAL_COMPONENT, TERMINAL_NNS_COMPONENT, USE_CONTINUATION |
| Fields inherited from class com.sun.jndi.toolkit.ctx.PartialCompositeContext |
|---|
_ATOMIC, _COMPONENT, _contextType, _PARTIAL |
| 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 | |
|---|---|
protected |
AtomicContext()
|
| Method Summary | |
|---|---|
protected void |
a_bind_nns(String name,
Object obj,
Continuation cont)
|
protected abstract void |
a_bind(String name,
Object obj,
Continuation cont)
|
protected Context |
a_createSubcontext_nns(String name,
Continuation cont)
|
protected abstract Context |
a_createSubcontext(String name,
Continuation cont)
|
protected void |
a_destroySubcontext_nns(String name,
Continuation cont)
|
protected abstract void |
a_destroySubcontext(String name,
Continuation cont)
|
protected NameParser |
a_getNameParser_nns(Continuation cont)
|
protected abstract NameParser |
a_getNameParser(Continuation cont)
|
protected NamingEnumeration |
a_list_nns(Continuation cont)
|
protected abstract NamingEnumeration |
a_list(Continuation cont)
|
protected NamingEnumeration |
a_listBindings_nns(Continuation cont)
|
protected abstract NamingEnumeration |
a_listBindings(Continuation cont)
|
protected Object |
a_lookup_nns(String name,
Continuation cont)
|
protected abstract Object |
a_lookup(String name,
Continuation cont)
|
protected Object |
a_lookupLink_nns(String name,
Continuation cont)
|
protected abstract Object |
a_lookupLink(String name,
Continuation cont)
|
protected void |
a_processJunction_nns(Continuation cont)
This function is used when implementing a naming system that supports junctions. |
protected void |
a_processJunction_nns(String name,
Continuation cont)
This function is used when implementing a naming system that supports junctions. |
protected void |
a_rebind_nns(String name,
Object obj,
Continuation cont)
|
protected abstract void |
a_rebind(String name,
Object obj,
Continuation cont)
|
protected void |
a_rename_nns(String oldname,
Name newname,
Continuation cont)
|
protected abstract void |
a_rename(String oldname,
Name newname,
Continuation cont)
|
protected Object |
a_resolveIntermediate_nns(String name,
Continuation cont)
Resolves the nns for 'name' when the named context is acting as an intermediate context. |
protected void |
a_unbind_nns(String name,
Continuation cont)
|
protected abstract void |
a_unbind(String name,
Continuation cont)
|
protected void |
c_bind_nns(Name name,
Object obj,
Continuation cont)
|
protected void |
c_bind(Name name,
Object obj,
Continuation cont)
|
protected Context |
c_createSubcontext_nns(Name name,
Continuation cont)
|
protected Context |
c_createSubcontext(Name name,
Continuation cont)
|
protected void |
c_destroySubcontext_nns(Name name,
Continuation cont)
|
protected void |
c_destroySubcontext(Name name,
Continuation cont)
|
protected NameParser |
c_getNameParser_nns(Name name,
Continuation cont)
|
protected NameParser |
c_getNameParser(Name name,
Continuation cont)
|
protected NamingEnumeration |
c_list_nns(Name name,
Continuation cont)
|
protected NamingEnumeration |
c_list(Name name,
Continuation cont)
|
protected NamingEnumeration |
c_listBindings_nns(Name name,
Continuation cont)
|
protected NamingEnumeration |
c_listBindings(Name name,
Continuation cont)
|
protected Object |
c_lookup_nns(Name name,
Continuation cont)
|
protected Object |
c_lookup(Name name,
Continuation cont)
|
protected Object |
c_lookupLink_nns(Name name,
Continuation cont)
|
protected Object |
c_lookupLink(Name name,
Continuation cont)
|
protected abstract StringHeadTail |
c_parseComponent(String inputName,
Continuation cont)
Parse 'inputName' into two parts: head: the first component in this name tail: the rest of the unused name. |
protected void |
c_rebind_nns(Name name,
Object obj,
Continuation cont)
|
protected void |
c_rebind(Name name,
Object obj,
Continuation cont)
|
protected void |
c_rename_nns(Name oldname,
Name newname,
Continuation cont)
|
protected void |
c_rename(Name oldname,
Name newname,
Continuation cont)
|
protected Object |
c_resolveIntermediate_nns(Name name,
Continuation cont)
Resolves the nns for 'name' when the named context is acting as an intermediate context. |
protected void |
c_unbind_nns(Name name,
Continuation cont)
|
protected void |
c_unbind(Name name,
Continuation cont)
|
protected boolean |
isEmpty(String name)
|
protected boolean |
resolve_to_context(Name name,
Continuation cont)
Resolve to context named by 'name'. |
protected void |
resolve_to_nns_and_continue(Name name,
Continuation cont)
Resolves to nns associated with 'name' and set Continuation to the result. |
protected boolean |
resolve_to_penultimate_context_nns(Name name,
Continuation cont)
This function is similar to resolve_to_penultimate_context() except it should only be called by the nns() functions. |
protected boolean |
resolve_to_penultimate_context(Name name,
Continuation cont)
Resolves to penultimate context named by 'name'. |
| Methods inherited from class com.sun.jndi.toolkit.ctx.ComponentContext |
|---|
c_processJunction_nns, isAllEmpty, p_bind, p_createSubcontext, p_destroySubcontext, p_getNameParser, p_list, p_listBindings, p_lookup, p_lookupLink, p_parseComponent, p_rebind, p_rename, p_resolveIntermediate, p_resolveToClass, p_unbind |
| Methods inherited from class com.sun.jndi.toolkit.ctx.PartialCompositeContext |
|---|
allEmpty, bind, bind, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getNameParser, getNameParser, getPCContext, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, p_getEnvironment, rebind, rebind, rename, rename, resolveToClass, resolveToClass, unbind, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.naming.Context |
|---|
addToEnvironment, close, getEnvironment, getNameInNamespace, removeFromEnvironment |
| Methods inherited from interface javax.naming.spi.Resolver |
|---|
resolveToClass, resolveToClass |
| Constructor Detail |
|---|
protected AtomicContext()
| Method Detail |
|---|
protected abstract Object a_lookup(String name,
Continuation cont)
throws NamingException
NamingException
protected abstract Object a_lookupLink(String name,
Continuation cont)
throws NamingException
NamingException
protected abstract NamingEnumeration a_list(Continuation cont)
throws NamingException
NamingException
protected abstract NamingEnumeration a_listBindings(Continuation cont)
throws NamingException
NamingException
protected abstract void a_bind(String name,
Object obj,
Continuation cont)
throws NamingException
NamingException
protected abstract void a_rebind(String name,
Object obj,
Continuation cont)
throws NamingException
NamingException
protected abstract void a_unbind(String name,
Continuation cont)
throws NamingException
NamingException
protected abstract void a_destroySubcontext(String name,
Continuation cont)
throws NamingException
NamingException
protected abstract Context a_createSubcontext(String name,
Continuation cont)
throws NamingException
NamingException
protected abstract void a_rename(String oldname,
Name newname,
Continuation cont)
throws NamingException
NamingException
protected abstract NameParser a_getNameParser(Continuation cont)
throws NamingException
NamingException
protected abstract StringHeadTail c_parseComponent(String inputName,
Continuation cont)
throws NamingException
NamingException
protected Object a_resolveIntermediate_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected Object a_lookup_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected Object a_lookupLink_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected NamingEnumeration a_list_nns(Continuation cont)
throws NamingException
NamingException
protected NamingEnumeration a_listBindings_nns(Continuation cont)
throws NamingException
NamingException
protected void a_bind_nns(String name,
Object obj,
Continuation cont)
throws NamingException
NamingException
protected void a_rebind_nns(String name,
Object obj,
Continuation cont)
throws NamingException
NamingException
protected void a_unbind_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected Context a_createSubcontext_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected void a_destroySubcontext_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected void a_rename_nns(String oldname,
Name newname,
Continuation cont)
throws NamingException
NamingException
protected NameParser a_getNameParser_nns(Continuation cont)
throws NamingException
NamingExceptionprotected boolean isEmpty(String name)
protected Object c_lookup(Name name,
Continuation cont)
throws NamingException
c_lookup in class ComponentContextNamingException
protected Object c_lookupLink(Name name,
Continuation cont)
throws NamingException
c_lookupLink in class ComponentContextNamingException
protected NamingEnumeration c_list(Name name,
Continuation cont)
throws NamingException
c_list in class ComponentContextNamingException
protected NamingEnumeration c_listBindings(Name name,
Continuation cont)
throws NamingException
c_listBindings in class ComponentContextNamingException
protected void c_bind(Name name,
Object obj,
Continuation cont)
throws NamingException
c_bind in class ComponentContextNamingException
protected void c_rebind(Name name,
Object obj,
Continuation cont)
throws NamingException
c_rebind in class ComponentContextNamingException
protected void c_unbind(Name name,
Continuation cont)
throws NamingException
c_unbind in class ComponentContextNamingException
protected void c_destroySubcontext(Name name,
Continuation cont)
throws NamingException
c_destroySubcontext in class ComponentContextNamingException
protected Context c_createSubcontext(Name name,
Continuation cont)
throws NamingException
c_createSubcontext in class ComponentContextNamingException
protected void c_rename(Name oldname,
Name newname,
Continuation cont)
throws NamingException
c_rename in class ComponentContextNamingException
protected NameParser c_getNameParser(Name name,
Continuation cont)
throws NamingException
c_getNameParser in class ComponentContextNamingException
protected Object c_resolveIntermediate_nns(Name name,
Continuation cont)
throws NamingException
ComponentContext
c_resolveIntermediate_nns in class ComponentContextNamingException
protected Object c_lookup_nns(Name name,
Continuation cont)
throws NamingException
c_lookup_nns in class ComponentContextNamingException
protected Object c_lookupLink_nns(Name name,
Continuation cont)
throws NamingException
c_lookupLink_nns in class ComponentContextNamingException
protected NamingEnumeration c_list_nns(Name name,
Continuation cont)
throws NamingException
c_list_nns in class ComponentContextNamingException
protected NamingEnumeration c_listBindings_nns(Name name,
Continuation cont)
throws NamingException
c_listBindings_nns in class ComponentContextNamingException
protected void c_bind_nns(Name name,
Object obj,
Continuation cont)
throws NamingException
c_bind_nns in class ComponentContextNamingException
protected void c_rebind_nns(Name name,
Object obj,
Continuation cont)
throws NamingException
c_rebind_nns in class ComponentContextNamingException
protected void c_unbind_nns(Name name,
Continuation cont)
throws NamingException
c_unbind_nns in class ComponentContextNamingException
protected Context c_createSubcontext_nns(Name name,
Continuation cont)
throws NamingException
c_createSubcontext_nns in class ComponentContextNamingException
protected void c_destroySubcontext_nns(Name name,
Continuation cont)
throws NamingException
c_destroySubcontext_nns in class ComponentContextNamingException
protected void c_rename_nns(Name oldname,
Name newname,
Continuation cont)
throws NamingException
c_rename_nns in class ComponentContextNamingException
protected NameParser c_getNameParser_nns(Name name,
Continuation cont)
throws NamingException
c_getNameParser_nns in class ComponentContextNamingException
protected void a_processJunction_nns(String name,
Continuation cont)
throws NamingException
NamingException
protected void a_processJunction_nns(Continuation cont)
throws NamingException
NamingException
protected boolean resolve_to_context(Name name,
Continuation cont)
throws NamingException
NamingException
protected boolean resolve_to_penultimate_context(Name name,
Continuation cont)
throws NamingException
NamingException
protected boolean resolve_to_penultimate_context_nns(Name name,
Continuation cont)
throws NamingException
NamingException
protected void resolve_to_nns_and_continue(Name name,
Continuation cont)
throws NamingException
NamingException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||