Ejemplo n.º 1
0
 public void close() throws NamingException {
   ctx.close();
 }
Ejemplo n.º 2
0
 public Object lookup(String name) throws NamingException {
   if (name.startsWith("@subcontext@"))
     name = name.substring("@subcontext@/".length()); // sync with heading doc
   return ctx.lookup(name);
 }