org.eclipse.net4j.util.container
Class LifecycleEventConverter<E>

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

public class LifecycleEventConverter<E>
extends java.lang.Object
implements IListener

Is registered with each IChannel of this IConnector.


Constructor Summary
LifecycleEventConverter(Notifier owner)
           
 
Method Summary
protected  void added(ILifecycleEvent e)
           
protected  IContainerEvent<E> createContainerEvent(IContainer<E> container, E element, IContainerDelta.Kind kind)
           
protected  void fireContainerEvent(ILifecycleEvent e, IContainerDelta.Kind kind)
           
 INotifier getOwner()
           
 void notifyEvent(IEvent event)
           
protected  void removed(ILifecycleEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleEventConverter

public LifecycleEventConverter(Notifier owner)
Method Detail

getOwner

public INotifier getOwner()

notifyEvent

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

added

protected void added(ILifecycleEvent e)

removed

protected void removed(ILifecycleEvent e)

fireContainerEvent

protected void fireContainerEvent(ILifecycleEvent e,
                                  IContainerDelta.Kind kind)

createContainerEvent

protected IContainerEvent<E> createContainerEvent(IContainer<E> container,
                                                  E element,
                                                  IContainerDelta.Kind kind)

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.