code: @Override
  	public NamingEnumeration<Binding> listBindings(Name name) throws NamingException
      {
          if (name.isEmpty())
              return new ListOfBindings(bindings.keys());
  
          Object target = lookup(name);
          if (target instanceof Context)
          {
              try
              {
                  return ((Context)target).listBindings("");
              }
              finally
              {
                  ((Context)target).close();
              }
          }
          throw new NotContextException(name + " cannot be listed");
      }
docs: /*
  (non-Javadoc)
  @see javax.naming.Context#listBindings(javax.naming.Name)