public Object addingService(ServiceReference reference) {
Object service = context.getService(reference);
if (service instanceof ContentRepository) {
SlingRepository repository = new SlingRepositoryImpl(
(ContentRepository) service,
new OsgiWhiteboard(context),
securityProvider);
jcrRepositories.put(reference, context.registerService(
Repository.class.getName(),
repository, new Properties()));
slingRepositories.put(reference, context.registerService(