Class ContainerEventAdapter<E>

java.lang.Object
org.eclipse.net4j.util.container.ContainerEventAdapter<E>
All Implemented Interfaces:
EventListener, IListener

public class ContainerEventAdapter<E> extends Object implements IListener
A listener that dispatches container events to methods that can be overridden by extenders.
Author:
Eike Stepper
  • Constructor Details

    • ContainerEventAdapter

      public ContainerEventAdapter(boolean waitForActive)
      Since:
      3.3
    • ContainerEventAdapter

      public ContainerEventAdapter()
  • Method Details

    • isWaitForActive

      public boolean isWaitForActive()
      Since:
      3.3
    • notifyEvent

      public final void notifyEvent(IEvent event)
      Specified by:
      notifyEvent in interface IListener
    • notifyContainerEvent

      protected void notifyContainerEvent(IContainerEvent<E> event)
    • notifyLifecycleEvent

      protected void notifyLifecycleEvent(ILifecycleEvent event)
      Since:
      3.16
    • notifyOtherEvent

      protected void notifyOtherEvent(IEvent event)
    • onAdded

      protected void onAdded(IContainer<E> container, E element)
    • onRemoved

      protected void onRemoved(IContainer<E> container, E element)
    • onAboutToActivate

      protected void onAboutToActivate(ILifecycle lifecycle)
      Since:
      3.16
    • onActivated

      protected void onActivated(ILifecycle lifecycle)
      Since:
      3.16
    • onAboutToDeactivate

      protected void onAboutToDeactivate(ILifecycle lifecycle)
      Since:
      3.16
    • onDeactivated

      protected void onDeactivated(ILifecycle lifecycle)
      Since:
      3.16