code: public void unbind(String jndiName, Object o) throws NamingException
     {
        if (jndiName == null)
           throw new NamingException();
  
        if (o == null)
           throw new NamingException();
  
        Context context = createContext();
        try
        {
           String className = o.getClass().getName();
  
           if (trace)
              log.trace("Unbinding " + className + " under " + jndiName);
  
           Util.unbind(context, jndiName);
  
           objs.remove(qualifiedName(jndiName, className));
  
           if (log.isDebugEnabled())
              log.debug("Unbound " + className + " under " + jndiName);
        }
        catch (Throwable t)
        {
           //log.exceptionDuringUnbind(t);
        }
        finally
        {
           if (context != null)
           {
              try
              {
                 context.close();
              }
              catch (NamingException ne)
              {
                 // Ignore
              }
           }
        }
     }
docs: {@inheritDoc}