| Modifier and Type | Field and Description |
|---|---|
| private static int |
| Access | Constructor and Description |
|---|---|
| protected |
| debug | back to summary |
|---|---|
| private static int debug | |
| AtomicContext | back to summary |
|---|---|
| protected AtomicContext() | |
| a_bind | back to summary |
|---|---|
| protected abstract void a_bind(String name, Object obj, Continuation cont) throws NamingException | |
| a_bind_nns | back to summary |
|---|---|
| protected void a_bind_nns(String name, Object obj, Continuation cont) throws NamingException | |
| a_createSubcontext | back to summary |
|---|---|
| protected abstract Context a_createSubcontext(String name, Continuation cont) throws NamingException | |
| a_createSubcontext_nns | back to summary |
|---|---|
| protected Context a_createSubcontext_nns(String name, Continuation cont) throws NamingException | |
| a_destroySubcontext | back to summary |
|---|---|
| protected abstract void a_destroySubcontext(String name, Continuation cont) throws NamingException | |
| a_destroySubcontext_nns | back to summary |
|---|---|
| protected void a_destroySubcontext_nns(String name, Continuation cont) throws NamingException | |
| a_getNameParser | back to summary |
|---|---|
| protected abstract NameParser a_getNameParser(Continuation cont) throws NamingException | |
| a_getNameParser_nns | back to summary |
|---|---|
| protected NameParser a_getNameParser_nns(Continuation cont) throws NamingException | |
| a_list | back to summary |
|---|---|
| protected abstract NamingEnumeration | |
| a_list_nns | back to summary |
|---|---|
| protected NamingEnumeration | |
| a_listBindings | back to summary |
|---|---|
| protected abstract NamingEnumeration | |
| a_listBindings_nns | back to summary |
|---|---|
| protected NamingEnumeration | |
| a_lookup | back to summary |
|---|---|
| protected abstract Object a_lookup(String name, Continuation cont) throws NamingException | |
| a_lookup_nns | back to summary |
|---|---|
| protected Object a_lookup_nns(String name, Continuation cont) throws NamingException | |
| a_lookupLink | back to summary |
|---|---|
| protected abstract Object a_lookupLink(String name, Continuation cont) throws NamingException | |
| a_lookupLink_nns | back to summary |
|---|---|
| protected Object a_lookupLink_nns(String name, Continuation cont) throws NamingException | |
| a_processJunction_nns | back to summary |
|---|---|
| protected void a_processJunction_nns(String name, Continuation cont) throws NamingException This function is used when implementing a naming system that supports junctions. For example, when the a_bind_nns(name, newobj) method is invoked, that means the caller is attempting to bind the object 'newobj' to the nns of 'name'. For context that supports junctions, 'name' names a junction and is pointing to the root of another naming system, which in turn might have an nns. This means that a_bind_nns() should first resolve 'name' and attempt to continue the operation in the context named by 'name'. (i.e. bind to the nns of the context named by 'name'). If name is already empty, then throw NameNotFoundException because this context by default does not have any nns. | |
| a_processJunction_nns | back to summary |
|---|---|
| protected void a_processJunction_nns(Continuation cont) throws NamingException This function is used when implementing a naming system that supports junctions. For example, when the a_list_nns(newobj) method is invoked, that means the caller is attempting to list the the nns context of this context. For a context that supports junctions, it by default does not have any nns. Consequently, a NameNotFoundException is thrown. | |
| a_rebind | back to summary |
|---|---|
| protected abstract void a_rebind(String name, Object obj, Continuation cont) throws NamingException | |
| a_rebind_nns | back to summary |
|---|---|
| protected void a_rebind_nns(String name, Object obj, Continuation cont) throws NamingException | |
| a_rename | back to summary |
|---|---|
| protected abstract void a_rename(String oldname, Name newname, Continuation cont) throws NamingException | |
| a_rename_nns | back to summary |
|---|---|
| protected void a_rename_nns(String oldname, Name newname, Continuation cont) throws NamingException | |
| a_resolveIntermediate_nns | back to summary |
|---|---|
| protected Object a_resolveIntermediate_nns(String name, Continuation cont) throws NamingException Resolves the nns for 'name' when the named context is acting as an intermediate context. For a system that supports junctions, this would be equivalent to a_lookup(name, cont); because for junctions, an intermediate slash simply signifies a syntactic separator. For a system that supports implicit nns, this would be equivalent to a_lookup_nns(name, cont); because for implicit nns, a slash always signifies the implicit nns, regardless of whether it is intermediate or trailing. By default this method supports junctions, and also allows for an implicit nns to be dynamically determined through the use of the "nns" reference (see a_processJunction_nns()). Contexts that implement implicit nns directly should provide an appropriate override. | |
| a_unbind | back to summary |
|---|---|
| protected abstract void a_unbind(String name, Continuation cont) throws NamingException | |
| a_unbind_nns | back to summary |
|---|---|
| protected void a_unbind_nns(String name, Continuation cont) throws NamingException | |
| c_bind | back to summary |
|---|---|
| protected void c_bind(Name name, Object obj, Continuation cont) throws NamingException Implements abstract com. | |
| c_bind_nns | back to summary |
|---|---|
| protected void c_bind_nns(Name name, Object obj, Continuation cont) throws NamingException Overrides com. | |
| c_createSubcontext | back to summary |
|---|---|
| protected Context c_createSubcontext(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_createSubcontext_nns | back to summary |
|---|---|
| protected Context c_createSubcontext_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| c_destroySubcontext | back to summary |
|---|---|
| protected void c_destroySubcontext(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_destroySubcontext_nns | back to summary |
|---|---|
| protected void c_destroySubcontext_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| c_getNameParser | back to summary |
|---|---|
| protected NameParser c_getNameParser(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_getNameParser_nns | back to summary |
|---|---|
| protected NameParser c_getNameParser_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| c_list | back to summary |
|---|---|
| protected NamingEnumeration Implements abstract com. | |
| c_list_nns | back to summary |
|---|---|
| protected NamingEnumeration Overrides com. | |
| c_listBindings | back to summary |
|---|---|
| protected NamingEnumeration Implements abstract com. | |
| c_listBindings_nns | back to summary |
|---|---|
| protected NamingEnumeration Overrides com. | |
| c_lookup | back to summary |
|---|---|
| protected Object c_lookup(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_lookup_nns | back to summary |
|---|---|
| protected Object c_lookup_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| c_lookupLink | back to summary |
|---|---|
| protected Object c_lookupLink(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_lookupLink_nns | back to summary |
|---|---|
| protected Object c_lookupLink_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| c_parseComponent | back to summary |
|---|---|
| protected abstract StringHeadTail c_parseComponent(String inputName, Continuation cont) throws NamingException Parse 'inputName' into two parts: head: the first component in this name tail: the rest of the unused name. Subclasses should provide an implementation for this method which parses inputName using its own name syntax. | |
| c_rebind | back to summary |
|---|---|
| protected void c_rebind(Name name, Object obj, Continuation cont) throws NamingException Implements abstract com. | |
| c_rebind_nns | back to summary |
|---|---|
| protected void c_rebind_nns(Name name, Object obj, Continuation cont) throws NamingException Overrides com. | |
| c_rename | back to summary |
|---|---|
| protected void c_rename(Name oldname, Name newname, Continuation cont) throws NamingException Implements abstract com. | |
| c_rename_nns | back to summary |
|---|---|
| protected void c_rename_nns(Name oldname, Name newname, Continuation cont) throws NamingException Overrides com. | |
| c_resolveIntermediate_nns | back to summary |
|---|---|
| protected Object c_resolveIntermediate_nns(Name name, Continuation cont) throws NamingException Overrides com. Doc from com. Resolves the nns for 'name' when the named context is acting as an intermediate context. For a system that supports only junctions, this would be equivalent to c_lookup(name, cont); because for junctions, an intermediate slash simply signifies a syntactic separator. For a system that supports only implicit nns, this would be equivalent to c_lookup_nns(name, cont); because for implicit nns, a slash always signifies the implicit nns, regardless of whether it is intermediate or trailing. By default this method supports junctions, and also allows for an implicit nns to be dynamically determined through the use of the "nns" reference (see c_processJunction_nns()). Contexts that implement implicit nns directly should provide an appropriate override. A junction, by definition, is a binding of a name in one namespace to an object in another. The default implementation of this method detects the crossover into another namespace using the following heuristic: there is a junction when "name" resolves to a context that is not an instance of this.getClass(). Contexts supporting junctions for which this heuristic is inappropriate should override this method. | |
| c_unbind | back to summary |
|---|---|
| protected void c_unbind(Name name, Continuation cont) throws NamingException Implements abstract com. | |
| c_unbind_nns | back to summary |
|---|---|
| protected void c_unbind_nns(Name name, Continuation cont) throws NamingException Overrides com. | |
| isEmpty | back to summary |
|---|---|
| protected boolean isEmpty(String name) | |
| resolve_to_context | back to summary |
|---|---|
| protected boolean resolve_to_context(Name name, Continuation cont) throws NamingException Resolve to context named by 'name'. Returns true if at named context (i.e. 'name' is empty name). Returns false otherwise, and sets Continuation on parts of 'name' not yet resolved. | |
| resolve_to_nns_and_continue | back to summary |
|---|---|
| protected void resolve_to_nns_and_continue(Name name, Continuation cont) throws NamingException Resolves to nns associated with 'name' and set Continuation to the result. | |
| resolve_to_penultimate_context | back to summary |
|---|---|
| protected boolean resolve_to_penultimate_context(Name name, Continuation cont) throws NamingException Resolves to penultimate context named by 'name'. Returns true if penultimate context has been reached (i.e. name only has one atomic component left). Returns false otherwise, and sets Continuation to parts of name not yet resolved. | |
| resolve_to_penultimate_context_nns | back to summary |
|---|---|
| protected boolean resolve_to_penultimate_context_nns(Name name, Continuation cont) throws NamingException This function is similar to resolve_to_penultimate_context() except it should only be called by the nns() functions. This function fixes any exception or continuations so that it will have the proper nns name. | |