* instance.
*/
private static final Map REPOSITORY_INSTANCES = new HashMap();
public Repository getRepository(Map parameters) throws RepositoryException {
JackrabbitRepository repo;
synchronized (REPOSITORY_INSTANCES) {
if (parameters == null) {
repo = getOrCreateRepository(null, null);
} else if (parameters.containsKey(REPOSITORY_CONF)
&& parameters.containsKey(REPOSITORY_HOME)) {