Class PortletLifecyclePhaseInterceptor

java.lang.Object
org.gatein.pc.portlet.PortletInvokerInterceptor
org.exoplatform.portal.pc.aspects.PortletLifecyclePhaseInterceptor
All Implemented Interfaces:
org.gatein.pc.api.PortletInvoker

public class PortletLifecyclePhaseInterceptor extends org.gatein.pc.portlet.PortletInvokerInterceptor
This interceptor exposes the current phase (i.e. ACTION_PHASE, RENDER_PHASE, etc) and the current window id for the portlet request/invocation.
  • Field Summary

    Fields inherited from interface org.gatein.pc.api.PortletInvoker

    LOCAL_PORTLET_INVOKER_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
    static String
     
    org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(org.gatein.pc.api.invocation.PortletInvocation invocation)
     

    Methods inherited from class org.gatein.pc.portlet.PortletInvokerInterceptor

    append, createClone, destroyClones, exportPortlet, getNext, getPortlet, getPortlets, getProperties, getProperties, getStatus, importPortlet, isActive, setNext, setProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PortletLifecyclePhaseInterceptor

      public PortletLifecyclePhaseInterceptor()
  • Method Details

    • 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:
      invoke in interface org.gatein.pc.api.PortletInvoker
      Overrides:
      invoke in class org.gatein.pc.portlet.PortletInvokerInterceptor
      Throws:
      IllegalArgumentException
      org.gatein.pc.api.PortletInvokerException
    • currentPhase

      public static String currentPhase()
    • currentWindowId

      public static String currentWindowId()