Class EventsWrapper

java.lang.Object
org.exoplatform.portal.webui.application.EventsWrapper

public class EventsWrapper extends Object
This class is a wrapper on the events generated by the portlet container and to be propagated to other portlet instances deployed in the same portal page. It also wraps a counter list that tells for each portlet windowId, how many times the processEvent() method has been called. This is to avoid infinite cycles where a processEvent() method will generate a new event which will target the same portlet
  • Field Details

    • log

      protected static org.exoplatform.services.log.Log log
    • THRESHOLD

      public static final int THRESHOLD
      See Also:
  • Constructor Details

    • EventsWrapper

      public EventsWrapper(List<javax.portlet.Event> events)
  • Method Details

    • getEvents

      public List<javax.portlet.Event> getEvents()
    • getCounters

      public List<EventsWrapper.CounterWrapper> getCounters()
    • increaseCounter

      public void increaseCounter(UIPortlet portlet)
    • isInvokedTooManyTimes

      public boolean isInvokedTooManyTimes(UIPortlet portlet)