Partially resolves a name. Stops at the first
context that is an instance of a given subtype of
Context
.
Returns:
the object that was found, along with the unresolved
suffix of
name
. Cannot be null.
Parameters:
-
name - the name to resolve
-
contextType - the type of object to resolve. This should
be a subtype of
Context
.
Throws:
-
javax.naming.NotContextException - if no context of the appropriate type is found
-
NamingException - if a naming exception was encountered
See Also:
Resolver.resolveToClass(String, Class)
,