org.exoplatform.services.portletcontainer.plugins.pc.aop
Class BaseCommandUnit

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.container.component.ExecutionUnit
          extended by org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandUnit
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Direct Known Subclasses:
PortletCacheCommand, PortletContentCommand, PortletFilterCommand, PortletMethodCommand, PortletMonitorCommand, PortletSecurityCommand

public abstract class BaseCommandUnit
extends org.exoplatform.container.component.ExecutionUnit


Field Summary
protected  org.apache.commons.logging.Log log
          Logger.
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
BaseCommandUnit()
           
 
Method Summary
 Object execute(org.exoplatform.container.component.ExecutionContext context)
          Overridden method.
protected  Object processAction(ActionExecutionContext acontext)
           
protected  Object processEvent(EventExecutionContext econtext)
           
protected  Object render(RenderExecutionContext rcontext)
           
protected  Object serveResource(ResourceExecutionContext rcontext)
           
 
Methods inherited from class org.exoplatform.container.component.ExecutionUnit
addExecutionUnit, getNextUnit
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log
Logger.

Constructor Detail

BaseCommandUnit

public BaseCommandUnit()
Method Detail

execute

public Object execute(org.exoplatform.container.component.ExecutionContext context)
               throws Throwable
Overridden method.

Specified by:
execute in class org.exoplatform.container.component.ExecutionUnit
Parameters:
context - context
Returns:
object
Throws:
Throwable - throwable
See Also:
ExecutionUnit.execute(org.exoplatform.container.component.ExecutionContext)

render

protected Object render(RenderExecutionContext rcontext)
                 throws Throwable
Parameters:
rcontext - context
Returns:
object
Throws:
Throwable - throwable

serveResource

protected Object serveResource(ResourceExecutionContext rcontext)
                        throws Throwable
Parameters:
rcontext - context
Returns:
object
Throws:
Throwable - throwable

processEvent

protected Object processEvent(EventExecutionContext econtext)
                       throws Throwable
Parameters:
econtext - context
Returns:
object
Throws:
Throwable - throwable

processAction

protected Object processAction(ActionExecutionContext acontext)
                        throws Throwable
Parameters:
acontext - context
Returns:
object
Throws:
Throwable - throwable


Copyright © 2009 eXo Platform SAS. All Rights Reserved.