@Override protected Object doOperation(HttpServerExchange exchange, String name) throws NamingException { return localContext.lookupLink(name); } }
@Override public Object lookupLink(String name) throws NamingException { return context.lookupLink(name); }
@Override public Object lookupLink(Name name) throws NamingException { return context.lookupLink(name.toString()); }
@Override public Object lookupLink(final String name) throws NamingException { return CNCtxFactory.INSTANCE.getInitialContext(environment).lookupLink(name); }
@Override public Object lookupLink(final Name name) throws NamingException { return CNCtxFactory.INSTANCE.getInitialContext(environment).lookupLink(name); }
@Override public Object lookupLink(final Name name) throws NamingException { Assert.checkNotNullParam("name", name); final ReparsedName reparsedName = reparse(name); ContextResult result = getProviderContext(reparsedName.getUrlScheme()); if(result.oldStyle) { return result.context.lookupLink(name); } else { return result.context.lookupLink(reparsedName.getName()); } }
@Override public Object lookupLink(final String name) throws NamingException { Assert.checkNotNullParam("name", name); final ReparsedName reparsedName = reparse(getNameParser().parse(name)); ContextResult result = getProviderContext(reparsedName.getUrlScheme()); if(result.oldStyle) { return result.context.lookupLink(name); } else { return result.context.lookupLink(reparsedName.getName()); } }
result = localContext.lookupLink(name); } else { result = localContext.lookup(name); result = localContext.lookupLink(name); } else { result = localContext.lookup(name);
public Object lookupLink(final Name name) throws NamingException { Assert.checkNotNullParam("name", name); if (name instanceof CompositeName) { final String first = name.get(0); final Name firstName = getNativeNameParser().parse(first); if (name.size() == 1) { return lookupLink(firstName); } final Object next = lookup(firstName); if (next instanceof Context) { final Context context = (Context) next; try { return context.lookupLink(name.getSuffix(1)); } finally { NamingUtils.safeClose(context); } } else { throw log.notContextInCompositeName(first); } } else { return lookupLinkNative(name); } }
public Object lookupLink(String name) throws NamingException { return delegate.lookupLink(name); }
public Object lookupLink(Name name) throws NamingException { return delegate.lookupLink(name); }
@Override public Object operation() throws NamingException { return getDelegate().lookupLink(name); } }.perform();
public Object lookupLink(final Name name) throws NamingException { try { return delegate.lookupLink(name); } catch (NamingException e) { return failover.lookupLink(name); } }
public Object lookupLink(final String name) throws NamingException { try { return delegate.lookupLink(name); } catch (NamingException e) { return failover.lookupLink(name); } }
/** * @see Context#lookupLink(Name) */ public Object lookupLink(Name name) throws NamingException { this.assertOpen(); return this.getDelegateContext().lookupLink(name); }
/** * @see javax.naming.Context#lookupLink(javax.naming.Name) */ public Object lookupLink(Name name) throws NamingException { this.assertOpen(); return this.getDelegateContext().lookupLink(name); }
/** * @see javax.naming.Context#lookupLink(java.lang.String) */ public Object lookupLink(String name) throws NamingException { this.assertOpen(); return this.getDelegateContext().lookupLink(name); }
/** * @see Context#lookupLink(Name) */ public Object lookupLink(Name name) throws NamingException { this.assertOpen(); return this.getDelegateContext().lookupLink(name); }
@Override public Object lookupLink(final String name) throws NamingException { Assert.checkNotNullParam("name", name); final ReparsedName reparsedName = reparse(getNameParser().parse(name)); ContextResult result = getProviderContext(reparsedName.getUrlScheme()); if(result.oldStyle) { return result.context.lookupLink(name); } else { return result.context.lookupLink(reparsedName.getName()); } }
public Object lookupLink(Name name) throws NamingException { if (name.size() == 1) { return lookupLink(name.get(0)); } else { Context ctx = getContinuationContext(name); try { return ctx.lookupLink(name.getSuffix(1)); } finally { ctx.close(); } } }