code: @Override
      public Hashtable<?, ?> getEnvironment() throws NamingException {
          Hashtable<Object, Object> envmt = new Hashtable<Object, Object>();
          envmt.putAll(environment);
          return envmt;
      }
docs: {@inheritDoc}