code: @Override
      public ManagedConnectionMetaData getMetaData() throws ResourceException {
          try {
              return new JcrManagedConnectionMetaData(mcf.getRepository(), session);
          } catch (Exception e) {
              throw new ResourceException(e);
          }
      }
docs: Gets the metadata information for this connection's underlying EIS resource manager instance.
  
  @return ManagedConnectionMetaData instance
  @throws ResourceException generic exception if operation fails