1 16 19 20 package org.apache.pluto.factory.impl; 21 22 import javax.portlet.PortletContext; 23 24 import org.apache.pluto.core.impl.PortletContextImpl; 25 import org.apache.pluto.factory.PortletContextFactory; 26 import org.apache.pluto.om.portlet.PortletApplicationDefinition; 27 28 public class PortletContextFactoryImpl implements PortletContextFactory { 29 30 public void init(javax.servlet.ServletConfig config, java.util.Map properties) throws Exception 31 { 32 } 33 34 public PortletContext getPortletContext(javax.servlet.ServletContext servletContext, 36 PortletApplicationDefinition portletApplicationDefinition) 37 { 38 return new PortletContextImpl(servletContext, portletApplicationDefinition); 39 } 40 42 public void destroy() throws Exception 44 { 45 } 46 } 48 | Popular Tags |