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
 java.lang.Object execute(org.exoplatform.container.component.ExecutionContext context)
          Overridden method.
protected  java.lang.Object processAction(ActionExecutionContext acontext)
           
protected  java.lang.Object processEvent(EventExecutionContext econtext)
           
protected  java.lang.Object render(RenderExecutionContext rcontext)
           
protected  java.lang.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 java.lang.Object execute(org.exoplatform.container.component.ExecutionContext context)
                         throws java.lang.Throwable
Overridden method.

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

render

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

serveResource

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

processEvent

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

processAction

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.