Package org.eclipse.net4j.util.container
Class ContainerEventAdapter<E>
- java.lang.Object
-
- org.eclipse.net4j.util.container.ContainerEventAdapter<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
IListener.NotifierAware
-
-
Constructor Summary
Constructors Constructor Description ContainerEventAdapter()
ContainerEventAdapter(boolean waitForActive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWaitForActive()
protected void
notifyContainerEvent(IContainerEvent<E> event)
void
notifyEvent(IEvent event)
protected void
notifyLifecycleEvent(ILifecycleEvent event)
protected void
notifyOtherEvent(IEvent event)
protected void
onAboutToActivate(ILifecycle lifecycle)
protected void
onAboutToDeactivate(ILifecycle lifecycle)
protected void
onActivated(ILifecycle lifecycle)
protected void
onAdded(IContainer<E> container, E element)
protected void
onDeactivated(ILifecycle lifecycle)
protected void
onRemoved(IContainer<E> container, E element)
-
-
-
Method Detail
-
isWaitForActive
public boolean isWaitForActive()
- Since:
- 3.3
-
notifyEvent
public final void notifyEvent(IEvent event)
- Specified by:
notifyEvent
in interfaceIListener
-
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
-
-