org.jboss.portal.portlet.aspects.portlet
Class ModesInterceptor

java.lang.Object
  extended by org.jboss.portal.portlet.invocation.PortletInterceptor
      extended by org.jboss.portal.portlet.aspects.portlet.ModesInterceptor
All Implemented Interfaces:
Interceptor

public class ModesInterceptor
extends PortletInterceptor

The ModesInterceptor computes the mode for the request as well as the supported modes.

Version:
$Revision: 7226 $
Author:
Julien Viet

Constructor Summary
ModesInterceptor()
           
 
Method Summary
protected  java.util.Set getModes(PortletInvocation invocation)
          Compute the supported modes for this invocation.
protected  java.lang.Object invoke(PortletInvocation invocation)
           
 
Methods inherited from class org.jboss.portal.portlet.invocation.PortletInterceptor
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModesInterceptor

public ModesInterceptor()
Method Detail

invoke

protected java.lang.Object invoke(PortletInvocation invocation)
                           throws java.lang.Exception,
                                  InvocationException
Specified by:
invoke in class PortletInterceptor
Throws:
java.lang.Exception
InvocationException

getModes

protected java.util.Set getModes(PortletInvocation invocation)
Compute the supported modes for this invocation.