Class PageEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public final class PageEvent
    extends java.lang.Object
    implements java.io.Serializable
    This event is fired for each page change.
    See Also:
    Serialized Form
    • Field Detail

      • EVENT_TOPIC

        public static final java.lang.String EVENT_TOPIC
        Event topic for page modification events.
        See Also:
        Constant Field Values
    • Method Detail

      • getModifications

        public java.util.Iterator<PageModification> getModifications()
        Get the list of modifications.
        Returns:
        An iterator for the modifications.
      • isLocal

        public boolean isLocal()
        Is this a local or a cluster event?
        Returns:
        true if this is a local event
      • fromEvent

        public static PageEvent fromEvent​(Event evt)
        Convert an OSGi event to a page event if possible.
        Parameters:
        evt - The OSGi event.
        Returns:
        The page even or null.
      • toEvent

        public Event toEvent()
        Create a distributable event.
        Returns:
        An event.
      • toNonDistributableEvent

        public Event toNonDistributableEvent()
        Create a non distributable event.
        Returns:
        An event.