public interface Resolver
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.
| Modifier and Type | Method and Description |
|---|---|
ResolveResult |
resolveToClass(Name name,
Class<? extends Context> contextType)
Partially resolves a name.
|
ResolveResult |
resolveToClass(String name,
Class<? extends Context> contextType)
Partially resolves a name.
|
ResolveResult resolveToClass(Name name, Class<? extends Context> contextType) throws NamingException
Context.NotContextException - if no context of the appropriate type is foundNamingException - if a naming exception was encounteredname - the name to resolvecontextType - the type of object to resolve. This should
be a subtype of Context.name. Cannot be null.resolveToClass(String, Class)ResolveResult resolveToClass(String name, Class<? extends Context> contextType) throws NamingException
resolveToClass(Name, Class) for details.NotContextException - if no context of the appropriate type is foundNamingException - if a naming exception was encounteredname - the name to resolvecontextType - the type of object to resolve. This should
be a subtype of Context.name. Cannot be null.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.