|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameResolver
A NameResolver represents an object that implements the name resolution strategies specific to some naming system. For example, a naming system may arrange NameContext objects into a hierarchy, and a name such as "../services/scheduler" may represent a traversal path through the hierarchy leading to a bound object. The naming system may also specify policies for creating new objects in the namespace if an object is not found.
The policies for traversing namespaces and creating new objects on demand should not be encapsulated by the NameContext implementations, but should instead be encapsulated by the NameResolver implementations. This allows various implementations of NameContext to be used in a namespace that implements a specific policy of name resolution.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
java.lang.Object |
resolveName(java.lang.String pName)
Follows the naming system's conventions for resolving the specified name, and returns the Object that is the result of the resolution. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.lang.Object resolveName(java.lang.String pName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |