You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by nishkam agrawal <ag...@gmail.com> on 2012/02/29 20:43:45 UTC

Get access to Jackrabbit repository

Hello Team,

I am trying to do the garbage collection for the Jackrabbit repository
and was wondering is there are other ways to get the reference to the
JackrabbitRepository directly without getting the reference to the JCR
repository?
We are using jackrabbit 2.2.5 version.

Right now I am casting the JCR repository to Jackrabbit repository as:

  JackrabbitRepositoryFactory repositoryFactory = new RepositoryFactoryImpl();
  repository = (JackrabbitRepository)
repositoryFactory.getRepository(properties);

Thanks
Nishkam