org.jboss.portal.portlet.aspects.portlet
Class PortletCustomizationInterceptor

java.lang.Object
  extended by org.jboss.portal.portlet.PortletInvokerInterceptor
      extended by org.jboss.portal.portlet.aspects.portlet.PortletCustomizationInterceptor
All Implemented Interfaces:
PortletInvoker

public class PortletCustomizationInterceptor
extends PortletInvokerInterceptor

This interceptor takes in charge the management of portlet customization when the invocation carries an read only access mode. The customizations will be stored in the principal scope of the portlet invocation for security reasons.

This interceptor must not be used in a production environment.

Version:
$Revision: 630 $
Author:
Julien Viet

Constructor Summary
PortletCustomizationInterceptor()
           
 
Method Summary
 PortletInvocationResponse invoke(PortletInvocation invocation)
          Invoke an operation on a specific portlet.
 
Methods inherited from class org.jboss.portal.portlet.PortletInvokerInterceptor
createClone, destroyClones, getNext, getPortlet, getPortlets, getProperties, getProperties, setNext, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletCustomizationInterceptor

public PortletCustomizationInterceptor()
Method Detail

invoke

public PortletInvocationResponse invoke(PortletInvocation invocation)
                                 throws java.lang.IllegalArgumentException,
                                        PortletInvokerException
Description copied from interface: PortletInvoker
Invoke an operation on a specific portlet.

Specified by:
invoke in interface PortletInvoker
Overrides:
invoke in class PortletInvokerInterceptor
Parameters:
invocation - the portlet invocation
Returns:
the invocation response
Throws:
java.lang.IllegalArgumentException - if the invocation is null
PortletInvokerException - a portlet invoker exception


Copyright © 2008. All Rights Reserved.