Class SelfAttachingContainerListener

java.lang.Object
org.eclipse.net4j.util.container.SelfAttachingContainerListener
All Implemented Interfaces:
EventListener, IListener, IListener.NotifierAware
Direct Known Subclasses:
SelfAttachingContainerListener.Delegating

public class SelfAttachingContainerListener extends Object implements IListener.NotifierAware
Since:
3.6
Author:
Eike Stepper
  • Constructor Details

    • SelfAttachingContainerListener

      public SelfAttachingContainerListener()
  • Method Details

    • addNotifier

      public void addNotifier(INotifier notifier)
      Specified by:
      addNotifier in interface IListener.NotifierAware
    • removeNotifier

      public void removeNotifier(INotifier notifier)
      Specified by:
      removeNotifier in interface IListener.NotifierAware
    • attach

      public void attach(Object element)
    • detach

      public void detach(Object element)
    • notifyEvent

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

      protected void notifyContainerEvent(IContainerEvent<?> event)
    • notifyOtherEvent

      protected void notifyOtherEvent(IEvent event)
    • shouldAttach

      @Deprecated protected boolean shouldAttach(Object element)
      Deprecated.
      As of 3.16 not used anymore.
    • shouldDescend

      protected boolean shouldDescend(Object element)
    • isWaitForActive

      protected boolean isWaitForActive()
    • isActive

      protected boolean isActive(Object element)
    • handleException

      protected void handleException(Exception ex)