站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

PortletController - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.portlet.test
Class PortletController

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.common.system.AbstractJBossService
              extended byorg.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:
PortletTestAgent, TCKController

public class PortletController
extends AbstractJBossService
implements RequestController


Nested Class Summary
protected  class PortletController.ComponentRequestContextImpl
           
protected  class PortletController.ComponentResponseContextImpl
           
protected  class PortletController.InstanceContextImpl
           
protected  class PortletController.PreferencesContextImpl
           
 
Field Summary
protected  InterceptorStack portletStack
          .
protected  WebAppRegistry webAppRegistry
          .
 
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
 
Constructor Summary
PortletController()
           
 
Method Summary
protected  void endRender(ServerInvocation invocation)
           
 InterceptorStack getPortletStack()
           
protected  java.util.Collection getRenderList(ServerInvocation invocation)
           
 WebAppRegistry getWebAppRegistry()
           
 void handle(ServerInvocation invocation)
          Handle the invocation.
protected  void invoke(ServerInvocation invocation, Component component, PortalContext portalProvider, ComponentInvocation cinv)
          Invoke a single component.
protected  void process(ServerInvocation invocation, PortalContext portalProvider)
           
protected  void render(ComponentInvocation invocation, java.io.PrintWriter writer)
           
protected  void render(ServerInvocation invocation, PortalContext portalProvider)
           
 void setPortletStack(InterceptorStack portletStack)
           
 void setWebAppRegistry(WebAppRegistry webAppRegistry)
           
protected  void startRender(ServerInvocation invocation)
           
 
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
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
 

Field Detail

portletStack

protected InterceptorStack portletStack
.


webAppRegistry

protected WebAppRegistry webAppRegistry
.

Constructor Detail

PortletController

public PortletController()
Method Detail

getWebAppRegistry

public WebAppRegistry getWebAppRegistry()

setWebAppRegistry

public void setWebAppRegistry(WebAppRegistry webAppRegistry)

getPortletStack

public InterceptorStack getPortletStack()

setPortletStack

public void setPortletStack(InterceptorStack portletStack)

process

protected void process(ServerInvocation invocation,
                       PortalContext portalProvider)
                throws InvocationException
Throws:
InvocationException

getRenderList

protected java.util.Collection getRenderList(ServerInvocation invocation)

render

protected void render(ServerInvocation invocation,
                      PortalContext portalProvider)
               throws InvocationException
Throws:
InvocationException

handle

public void handle(ServerInvocation invocation)
            throws InvocationException
Description copied from interface: RequestController
Handle the invocation.

Specified by:
handle in interface RequestController
Parameters:
invocation - the server invocation
Throws:
InvocationException

invoke

protected void invoke(ServerInvocation invocation,
                      Component component,
                      PortalContext portalProvider,
                      ComponentInvocation cinv)
               throws InvocationException
Invoke a single component.

Parameters:
invocation -
component -
portalProvider -
cinv -
Throws:
InvocationException

render

protected void render(ComponentInvocation invocation,
                      java.io.PrintWriter writer)
               throws java.io.IOException
Throws:
java.io.IOException

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