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.
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.
(resolve-to-class this name context-type)
Partially resolves a name. Stops at the first context that is an instance of a given subtype of Context.
name - the name to resolve - javax.naming.Name
context-type - the type of object to resolve. This should be a subtype of Context. - java.lang.Class
returns: the object that was found, along with the unresolved
suffix of name. Cannot be null. - javax.naming.spi.ResolveResult
throws: javax.naming.NotContextException - if no context of the appropriate type is found
Partially resolves a name. Stops at the first context that is an instance of a given subtype of Context. name - the name to resolve - `javax.naming.Name` context-type - the type of object to resolve. This should be a subtype of Context. - `java.lang.Class` returns: the object that was found, along with the unresolved suffix of name. Cannot be null. - `javax.naming.spi.ResolveResult` throws: javax.naming.NotContextException - if no context of the appropriate type is found
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close