code: public static Object lookup(String jndiName)
      {
          if(log.isDebugEnabled()) log.debug("lookup("+jndiName+") was called");
          try
          {
              return getContext().lookup(jndiName);
          }
          catch (NamingException e)
          {
              throw new OJBRuntimeException("Lookup failed for: " + jndiName, e);
          }
          catch(OJBRuntimeException e)
          {
              throw e;
          }
      }
docs: Lookup an object instance from JNDI context.
  
  @param jndiName JNDI lookup name
  @return Matching object or <em>null</em> if none found.