1 16 package org.apache.pluto; 17 18 import java.io.IOException ; 19 import java.util.Properties ; 20 21 import javax.portlet.PortletException; 22 import javax.servlet.ServletConfig ; 23 import javax.servlet.http.HttpServletRequest ; 24 import javax.servlet.http.HttpServletResponse ; 25 26 import org.apache.pluto.om.window.PortletWindow; 27 import org.apache.pluto.services.PortletContainerEnvironment; 28 29 57 public interface PortletContainer 58 { 59 60 70 public void init(String uniqueContainerName, 71 ServletConfig servletConfig, 72 PortletContainerEnvironment environment, 73 Properties properties) throws PortletContainerException; 74 75 82 public void shutdown() throws PortletContainerException; 83 84 98 public void renderPortlet(PortletWindow portletWindow, 99 HttpServletRequest request, 100 HttpServletResponse response) 101 throws PortletException, IOException , PortletContainerException; 102 103 104 117 public void processPortletAction(PortletWindow portletWindow, 118 HttpServletRequest request, 119 HttpServletResponse response) 120 throws PortletException, IOException , PortletContainerException; 121 122 134 public void portletLoad(PortletWindow portletWindow, 135 HttpServletRequest servletRequest, 136 HttpServletResponse servletResponse ) 137 throws PortletException, PortletContainerException; 138 139 144 public boolean isInitialized(); 145 } 146 | Popular Tags |