-
Enhancement
-
Resolution: Done
-
Major
-
2.6.0.Beta2
This would be more convenient, than appending query parameter to the URL :
JcrRepositoryFactory repositoryFactory = new JcrRepositoryFactory(); Map<String, String> params = new HashMap<String, String>(); params.put(JcrRepositoryFactory.URL, "file://" + CONFIG_FILE_PATH); params.put(JcrRepositoryFactory.REPOSITORY_NAME_PARAM, "inMemoryRepo"); repository = (JcrRepository) repositoryFactory.getRepository(params);
Patch attached as a reference.