Save This Page
Home » openjdk-7 » javax » naming » spi » [javadoc | source]
javax.naming.spi
public interface: Resolver [javadoc | source]

All Known Implementing Classes:
    ContinuationDirContext, ContinuationContext

This interface represents an "intermediate context" for name resolution.

The Resolver interface contains methods that are implemented by contexts that do not support subtypes of Context, but which can act as intermediate contexts for resolution purposes.

A Name parameter passed to any method is owned by the caller. The service provider will not modify the object or keep a reference to it. A ResolveResult object returned by any method is owned by the caller. The caller may subsequently modify it; the service provider may not.

Method from javax.naming.spi.Resolver Summary:
resolveToClass,   resolveToClass
Method from javax.naming.spi.Resolver Detail:
 public ResolveResult resolveToClass(Name name,
    Class contextType) throws NamingException
    Partially resolves a name. Stops at the first context that is an instance of a given subtype of Context.
 public ResolveResult resolveToClass(String name,
    Class contextType) throws NamingException