Interface IPortalEventBus

All Superinterfaces:
IPortalSessionListener
All Known Implementing Classes:
PortalEventBus

public interface IPortalEventBus extends IPortalSessionListener
The portal event bus allows listeners to be notified of events in a portal sessions.

Child portal sessions share the event bus with their parent session. When an event bus is shared by multiple portal sessions, the listeners will be notified of events in any of the portal sessions.

Implementations should be thread-safe and must allow unregistration during handling of an event.

Since:
11.0
Author:
Petru Galanton
  • Method Details

    • register

      void register(IPortalSessionListener listener)
      Registers a session listener with this event bus.
      Parameters:
      listener - The listener implementation, not null.
    • unregister

      void unregister(IPortalSessionListener listener)
      Removes a session listener from this event bus.
      Parameters:
      listener - The listener implementation to remove, not null.