if (LOG.isDebugEnabled()) {
LOG.debug("Creating portlet container...");
}
PortletContainerFactory factory =
PortletContainerFactory.getInstance();
PortletContainer container = factory.createContainer(
driverConfig.getContainerName(),
containerServices,
containerServices);
// Initialize portlet container.
if (LOG.isDebugEnabled()) {
LOG.debug("Initializing portlet container...");
}
container.init(servletContext);
// Save portlet container to the servlet context scope.
servletContext.setAttribute(CONTAINER_KEY, container);
if (LOG.isInfoEnabled()) {
LOG.info("Pluto portlet container started.");