@Override public Object lookupLink(String name) throws NamingException { return lookup(name); }
@Override public Object lookup(Name name) throws NamingException { return lookup(name.toString()); }
@Override public Object lookup(String name) throws NamingException { try { return super.lookup(name); } catch (NameNotFoundException e) { Object answer = createEntry(name); if (answer == null) { throw e; } internalBind(name, answer); return answer; } }
@Override public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListEnumeration(); } else if (o instanceof Context) { return ((Context) o).list(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<Binding> listBindings(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListBindingEnumeration(); } else if (o instanceof Context) { return ((Context) o).listBindings(""); } else { throw new NotContextException(); } }
result = lookup(ref.getLinkName());
@Override public Object lookupLink(String name) throws NamingException { return lookup(name); }
@Override public Object lookupLink(String name) throws NamingException { return lookup(name); }
@Override public Object lookupLink(String name) throws NamingException { return lookup(name); }
@Override public Object lookup(Name name) throws NamingException { return lookup(name.toString()); }
@Override public Object lookup(Name name) throws NamingException { return lookup(name.toString()); }
@Override public Object lookup(String name) throws NamingException { try { return super.lookup(name); } catch (NameNotFoundException e) { Object answer = createEntry(name); if (answer == null) { throw e; } internalBind(name, answer); return answer; } }
@Override public Object lookup(String name) throws NamingException { try { return super.lookup(name); } catch (NameNotFoundException e) { Object answer = createEntry(name); if (answer == null) { throw e; } internalBind(name, answer); return answer; } }
@Override public NamingEnumeration<Binding> listBindings(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListBindingEnumeration(); } else if (o instanceof Context) { return ((Context) o).listBindings(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListEnumeration(); } else if (o instanceof Context) { return ((Context) o).list(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<Binding> listBindings(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListBindingEnumeration(); } else if (o instanceof Context) { return ((Context) o).listBindings(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListEnumeration(); } else if (o instanceof Context) { return ((Context) o).list(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<Binding> listBindings(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListBindingEnumeration(); } else if (o instanceof Context) { return ((Context) o).listBindings(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListEnumeration(); } else if (o instanceof Context) { return ((Context) o).list(""); } else { throw new NotContextException(); } }
@Override public NamingEnumeration<NameClassPair> list(String name) throws NamingException { Object o = lookup(name); if (o == this) { return new ListEnumeration(); } else if (o instanceof Context) { return ((Context) o).list(""); } else { throw new NotContextException(); } }