code: @Override
      @SuppressWarnings( "rawtypes" )
      public Repository getRepository( Map parameters ) throws RepositoryException {
          LOG.debug("Trying to load ModeShape JCR Repository with parameters: " + parameters);
          return CONTAINER.getRepository(null, parameters);
      }
docs: Returns a reference to the appropriate repository for the given parameter map, if one exists. Although the
  {@code parameters} map can have any number of entries, this method only considers the entry with the key
  JcrRepositoryFactory#URL.
  <p>
  The value of this key is treated as a URL with the format {@code PROTOCOL://PATH[?repositoryName=REPOSITORY_NAME]} where
  PROTOCOL is "jndi" or "file", PATH is the JNDI name of the {@link ModeShapeEngine} or the path to the configuration file,
  and REPOSITORY_NAME is the name of the repository to return if there is more than one JCR repository in the given
  {@link ModeShapeEngine} or configuration file.
  </p>
  
  @param parameters a map of parameters to use to look up the repository; may be null
  @return the repository specified by the value of the entry with key {@link #URL}, or null if any of the following are true:
  <ul>
  <li>the parameters map is empty; or,</li>
  <li>there is no parameter with the {@link #URL}; or,</li>
  <li>the value for the {@link #URL} key is null or cannot be parsed into a ModeShape JCR URL; or,</li>
  <li>the ModeShape JCR URL is parseable but does not point to a {@link ModeShapeEngine} (in the JNDI tree) or a
  configuration file (in the classpath or file system); or,</li>
  <li>or there is an error starting up the {@link ModeShapeEngine} with the given configuration information.</li>
  <ul>
  @see RepositoryFactory#getRepository(Map)