*/
public RepositoryService getRepositoryService() throws RepositoryStubException {
Repository jackrabbitRepo = super.getRepository();
// TODO: make configurable
BatchReadConfig brconfig = new BatchReadConfig();
brconfig.setDepth(NameConstants.NT_FILE, BatchReadConfig.DEPTH_INFINITE);
brconfig.setDepth(NameConstants.NT_RESOURCE, BatchReadConfig.DEPTH_INFINITE);
return new RepositoryServiceImpl(jackrabbitRepo, brconfig);
}