//
ResourceBundleManager bundleManager = PortletResourceBundleFactory.createResourceBundleManager(info.getBundleManager(), info);
// Portlet config object
PortletConfig config = new PortletConfigImpl(info, application.info, application.portletContext, bundleManager);
// Finally initialize the porlet instance
try
{
// log.debug("Loading portlet class " + className);