registrationPersistenceManager = new JCRRegistrationPersistenceManager(persister);
} catch (Exception e) {
log.debug("Couldn't instantiate RegistrationPersistenceManager", e);
throw new RuntimeException("Couldn't instantiate RegistrationPersistenceManager", e);
}
RegistrationManager registrationManager = new RegistrationManagerImpl();
registrationManager.setPersistenceManager(registrationPersistenceManager);
// retrieve container portlet invoker from eXo kernel
ContainerPortletInvoker containerPortletInvoker = (ContainerPortletInvoker) container
.getComponentInstanceOfType(ContainerPortletInvoker.class);