javax.naming.spi

Interface Resolver

public interface Resolver

Represents the object, capable for the at least partial name resolution. The object is not necessay capable for the complete name resolution and need not implement the {@link Context}.

Both passed parameters and returned results are owned by the caller.

Method Summary
ResolveResultresolveToClass(Name name, Class<? extends Context> contextType)
ResolveResultresolveToClass(String name, Class<? extends Context> contextType)

Method Detail

resolveToClass

public ResolveResult resolveToClass(Name name, Class<? extends Context> contextType)

resolveToClass

public ResolveResult resolveToClass(String name, Class<? extends Context> contextType)