1 16 19 20 package org.apache.pluto.factory.impl; 21 22 import javax.portlet.PortletURL; 23 24 import org.apache.pluto.core.impl.PortletURLImpl; 25 import org.apache.pluto.factory.PortletURLFactory; 26 import org.apache.pluto.om.window.PortletWindow; 27 28 public class PortletURLFactoryImpl implements PortletURLFactory { 29 30 public void init(javax.servlet.ServletConfig config, java.util.Map properties) throws Exception 31 { 32 } 33 34 public PortletURL getPortletURL(PortletWindow portletWindow, 36 javax.servlet.http.HttpServletRequest servletRequest, 37 javax.servlet.http.HttpServletResponse servletResponse) 38 { 39 return getPortletURL(portletWindow, servletRequest, servletResponse, false); 40 } 41 42 public PortletURL getPortletURL(PortletWindow portletWindow, 43 javax.servlet.http.HttpServletRequest servletRequest, 44 javax.servlet.http.HttpServletResponse servletResponse, 45 boolean isAction) { 46 return new PortletURLImpl(portletWindow, servletRequest, servletResponse, isAction); 47 } 48 50 public void destroy() throws Exception 52 { 53 } 54 } 56 | Popular Tags |