org.apache.pluto.invoker.impl
Class PortletInvokerImpl
java.lang.Object
org.apache.pluto.invoker.impl.PortletInvokerImpl
- All Implemented Interfaces:
- PortletInvoker
public class PortletInvokerImpl
- extends java.lang.Object
- implements PortletInvoker
Method Summary |
void |
action(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
This method invokes the processAction method of a Java portlet (javax.portlet.Portlet ). |
protected void |
invoke(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
java.lang.Integer methodID)
|
void |
load(javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
This method invokes the optional load method of a portlet if supported. |
void |
render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
This method invokes the render method of a Java portlet (javax.portlet.Portlet ). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletInvokerImpl
public PortletInvokerImpl(PortletDefinition portletDefinition,
javax.servlet.ServletConfig servletConfig)
action
public void action(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Description copied from interface:
PortletInvoker
- This method invokes the processAction method of a Java portlet (
javax.portlet.Portlet
).
- Specified by:
action
in interface PortletInvoker
- Parameters:
request
- Represents the request sent to a portlet to handle an action.response
- Represents the response provide by a portlet in handling an action.
- Throws:
javax.portlet.PortletException
java.io.IOException
render
public void render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Description copied from interface:
PortletInvoker
- This method invokes the render method of a Java portlet (
javax.portlet.Portlet
).
- Specified by:
render
in interface PortletInvoker
- Parameters:
request
- Represents the request sent to a portlet to handle rendering the portlet.response
- Represents the response provide by a portlet in rendering.
- Throws:
javax.portlet.PortletException
java.io.IOException
load
public void load(javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException
- Description copied from interface:
PortletInvoker
- This method invokes the optional load method of a portlet if supported.
This method is not yet standardized.
- Specified by:
load
in interface PortletInvoker
- Parameters:
request
- Represents the request sent to a portlet to handle initializing the portlet.response
- Represents the response sent to a portlet to handle initializing the portlet.
- Throws:
javax.portlet.PortletException
invoke
protected void invoke(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
java.lang.Integer methodID)
throws javax.portlet.PortletException,
java.io.IOException
- Throws:
javax.portlet.PortletException
java.io.IOException
Copyright © 2003-2011 . All Rights Reserved.