Jakub,
I don't think this parameter should go into the SessionParameter class.
It is too implementation specific: it is the name of a parameter for the
Jackrabbit core JCR implementation (its RepositoryFactory that is).
Other JCR implementations might use completely different names for its
configuration parameters. Even Jackrabbit comes with various
RepositoryFactory implementations which take different set of parameters.
Michael
On 26.3.11 15:43, Jakub Liska wrote:
Hey,
I think that this property should exist in SessionParameter class :
jcr.org.apache.jackrabbit.repository.home. Because when Local binding
is used, it is directly required in
RepositoryFactoryImpl.getRepository( ); then
// connection settings
parameters.put(SessionParameter.BINDING_TYPE, BindingType.LOCAL.value());
parameters.put(SessionParameter.LOCAL_FACTORY,
JcrServiceFactory.class.getName());
parameters.put(SessionParameter.REPOSITORY_ID, "default");
parameters.put("jcr.org.apache.jackrabbit.repository.home", "repoHome");