+ log.info("Initialized remote Jackrabbit repository from uri " + uri);
+
+ if (parameters.containsKey(JCR_REPOSITORY_ALIAS)
+ && bundleContext != null) {
+ Properties properties = new Properties();
+ properties.putAll(parameters);
+ bundleContext.registerService(Repository.class.getName(),
+ repository, properties);
+ log.info("Registered under alias '"
+ + parameters.get(JCR_REPOSITORY_ALIAS)
+ + "' the remote JCR repository from uri " + uri);
+ }