org.jboss.portal.portlet.test
Class PortletController
java.lang.Object
org.jboss.portal.portlet.test.PortletController
- All Implemented Interfaces:
- RequestController
- Direct Known Subclasses:
- TCKPortletController
public class PortletController
- extends java.lang.Object
- implements RequestController
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
redirectAfterAction
protected boolean redirectAfterAction
- .
portletInvoker
protected PortletInvoker portletInvoker
- .
log
protected Logger log
- .
PortletController
public PortletController()
getPortletInvoker
public PortletInvoker getPortletInvoker()
setPortletInvoker
public void setPortletInvoker(PortletInvoker portletInvoker)
getRedirectAfterAction
public boolean getRedirectAfterAction()
setRedirectAfterAction
public void setRedirectAfterAction(boolean redirectAfterAction)
handle
public void handle(ServerInvocation invocation)
throws ServerException
- Description copied from interface:
RequestController
- Handle the invocation.
- Specified by:
handle
in interface RequestController
- Parameters:
invocation
- the server invocation
- Throws:
ServerException
getRenderList
protected java.util.Collection getRenderList(ServerInvocation invocation)
throws PortletInvokerException
- Throws:
PortletInvokerException
startRender
protected void startRender(ServerInvocation invocation)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
endRender
protected void endRender(ServerInvocation invocation)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
createAction
public ActionInvocation createAction(ServerInvocation serverInvocation,
ActionContext actionContext)
createRender
public RenderInvocation createRender(ServerInvocation serverInvocation,
RenderContext renderContext)
update
public void update(ServerInvocation serverInvocation,
PortletInvocation invocation)