Package org.gatein.pc.portlet.aspects
Class LocalInterceptor
java.lang.Object
org.gatein.pc.portlet.PortletInvokerInterceptor
org.gatein.pc.portlet.aspects.LocalInterceptor
- All Implemented Interfaces:
org.gatein.pc.api.PortletInvoker
An interceptor whose purpose is to detect invocation from the local portal.
-
Field Summary
Fields inherited from interface org.gatein.pc.api.PortletInvoker
LOCAL_PORTLET_INVOKER_ID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gatein.pc.portlet.PortletInvokerInterceptor
append, createClone, destroyClones, exportPortlet, getNext, getPortlet, getPortlets, getProperties, getProperties, getStatus, importPortlet, isActive, setNext, setProperties
-
Constructor Details
-
LocalInterceptor
public LocalInterceptor()
-
-
Method Details
-
isLocal
public static boolean isLocal() -
invoke
public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException - Specified by:
invokein interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
invokein classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerException
-