log.debug("Couldn't load WSRP producer configuration from " + producerConfigLocation, e);
throw new RuntimeException("Couldn't load WSRP producer configuration from " + producerConfigLocation, e);
}
container.registerComponentInstance(ProducerConfigurationService.class, producerConfigurationService);
RegistrationPersistenceManager registrationPersistenceManager;
try {
JCRPersister persister = new JCRPersister(container, JCRPersister.WSRP_WORKSPACE_NAME);
persister.initializeBuilderFor(JCRRegistrationPersistenceManager.mappingClasses);
registrationPersistenceManager = new JCRRegistrationPersistenceManager(persister);