OptionalContainerServices optionalServices) {
ArgumentUtility.validateNotNull("requiredServices", requiredServices);
ArgumentUtility.validateNotEmpty("containerName", containerName);
DefaultOptionalContainerServices optionalServicesWrapper =
new DefaultOptionalContainerServices(optionalServices);
PortletContainer container = new PortletContainerImpl(
containerName, requiredServices, optionalServicesWrapper);
if (LOG.isInfoEnabled()) {
LOG.info("Portlet Container [" + containerName + "] created.");