org.jboss.portal.portlet.aspects.portlet
Class LocalInterceptor

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

public class LocalInterceptor
extends PortletInvokerInterceptor

An interceptor whose purpose is to detect invocation from the local portal.

Version:
$Revision: 1.1 $
Author:
Julien Viet

Constructor Summary
LocalInterceptor()
           
 
Method Summary
 PortletInvocationResponse invoke(PortletInvocation invocation)
          Invoke an operation on a specific portlet.
static boolean isLocal()
           
 
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

LocalInterceptor

public LocalInterceptor()
Method Detail

isLocal

public static boolean isLocal()

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.