当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortletController - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.portlet.test
Class PortletController
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.common.system.AbstractJBossService
org.jboss.portal.portlet.test.PortletController
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RequestController, org.jboss.system.Service, org.jboss.system.ServiceMBean
- Direct Known Subclasses:
- TCKPortletController
- public class PortletController
- extends AbstractJBossService
- implements RequestController
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
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
- .
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 javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
endRender
protected void endRender(ServerInvocation invocation)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
createAction
public ActionInvocation createAction(ActionContext actionContext)
createRender
public RenderInvocation createRender(RenderContext renderContext)
update
public void update(PortletInvocation invocation)