use of javax.naming.spi.ResolveResult in project jdk8u_jdk by JetBrains.
the class GenericURLContext method getNameParser.
public NameParser getNameParser(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context) res.getResolvedObj();
try {
return ctx.getNameParser(res.getRemainingName());
} finally {
ctx.close();
}
}
Aggregations