CMS-3562 Make portal module work in OSGi. Added service exports.