| javax.naming.spi.Resolver
Resolver | public interface Resolver (Code) | | The Resolver interface describes an intermediate context which
may be used in name resolution. In some context implementations, it is
possible that subtypes of Context may not be supported; in
such cases, a class implementing the Resolver interface
becomes useful to obtain a context which is of a specified subtype of
Context .
|
resolveToClass | ResolveResult resolveToClass(Name n, Class<? extends javax.naming.Context> c) throws NamingException(Code) | | Partially resolves the name specified by name n stopping
at the first context object which is of the Context
subtype specified by class c .
Parameters: n - a name Parameters: c - a context details of the resolved context object and the part of the nameremaining to be resolved in a non-null ResolveResult object. throws: javax.naming.NotContextException - if no context of the specified subtype is found. throws: NamingException - if other naming errors occur |
resolveToClass | ResolveResult resolveToClass(String n, Class<? extends javax.naming.Context> c) throws NamingException(Code) | | Partially resolves the name specified by name n stopping
at the first context object which is of the Context
subtype specified by class c .
Parameters: n - a name in string Parameters: c - a context details of the resolved context object and the part of the nameremaining to be resolved in a non-null ResolveResult object. throws: javax.naming.NotContextException - if no context of the specified subtype is found. throws: NamingException - if other naming errors occur |
|
|