|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.pluto.PortletContainerImpl
Implements the Pluto Container.
| Constructor Summary | |
PortletContainerImpl()
|
|
| Method Summary | |
void |
init(java.lang.String uniqueContainerName,
javax.servlet.ServletConfig servletConfig,
PortletContainerEnvironment environment,
java.util.Properties properties)
Initializes the portlet container. |
boolean |
isInitialized()
Returns whether the container is already initialized or not. |
void |
portletLoad(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Indicates that the portlet must be initialized |
void |
processPortletAction(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Indicates that a portlet action occured in the current request and calls the processAction method of this portlet. |
protected void |
redirect(java.lang.String location,
PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
InternalActionResponse _actionResponse)
|
void |
renderPortlet(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Calls the render method of the given portlet window. |
void |
shutdown()
Shuts down the portlet container. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PortletContainerImpl()
| Method Detail |
public void init(java.lang.String uniqueContainerName,
javax.servlet.ServletConfig servletConfig,
PortletContainerEnvironment environment,
java.util.Properties properties)
throws PortletContainerException
PortletContainer
init in interface PortletContaineruniqueContainerName - container name that must be unqiue across all containers defined within this JVM. This name must be identical across JVMs.servletConfig - the servlet configurationenvironment - the portlet container environment including all servicesproperties - the portlet container specific properties may vary from container to container
PortletContainerException - if an error occurs while initializing the container
public void shutdown()
throws PortletContainerException
PortletContainer
shutdown in interface PortletContainerPortletContainerException - if an error occurs while shutting down the container
public void renderPortlet(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
throws javax.portlet.PortletException,
java.io.IOException,
PortletContainerException
PortletContainer
renderPortlet in interface PortletContainerportletWindow - the portlet WindowservletRequest - the servlet requestservletResponse - the servlet response
javax.portlet.PortletException - if one portlet has trouble fulfilling the request
java.io.IOException - if the streaming causes an I/O problem
PortletContainerException - if the portlet container implementation has trouble fulfilling the request
public void processPortletAction(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
throws javax.portlet.PortletException,
java.io.IOException,
PortletContainerException
PortletContainer
processPortletAction in interface PortletContainerportletWindow - the portlet WindowservletRequest - the servlet requestservletResponse - the servlet response
javax.portlet.PortletException - if one portlet has trouble fulfilling the request
PortletContainerException - if the portlet container implementation has trouble fulfilling the request
java.io.IOException
public void portletLoad(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
throws javax.portlet.PortletException,
PortletContainerException
PortletContainer
portletLoad in interface PortletContainerportletWindow - the portlet WindowservletRequest - the servlet requestservletResponse - the servlet response
PortletContainerException - if the portlet container implementation has trouble fulfilling the request
javax.portlet.PortletException - if one portlet has trouble fulfilling the requestpublic boolean isInitialized()
PortletContainer
isInitialized in interface PortletContainertrue if the container is initialized
protected void redirect(java.lang.String location,
PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
InternalActionResponse _actionResponse)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||