{
Object target = context.lookup(s.substring(JNDI_DEPENDENCY_PREFIX.length()));
if(log.isTraceEnabled())
log.trace("found: " + target);
// target could be null, but if the entry exists continue.
return new AbstractKernelRegistryEntry(name, target);
// NamingEnumeration<NameClassPair> e = context.list(s.substring(JNDI_DEPENDENCY_PREFIX.length()));
// if(e.hasMore())
// {
// Object target = e.next();
// // target could be null, but if the entry exists continue.