Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core.util
Class EventListenerRegistry<T extends Enum<T>,E>

java.lang.Object
  extended by org.eclipse.wst.common.project.facet.core.util.EventListenerRegistry<T,E>

public final class EventListenerRegistry<T extends Enum<T>,E>
extends Object

Since:
3.0
Author:
Konstantin Komissarchik

Constructor Summary
EventListenerRegistry(Class<T> eventTypeClass)
           
 
Method Summary
 void addListener(IEventListener<E> listener, T... types)
           
 void notifyListeners(T eventType, E event)
           
 void removeListener(IEventListener<E> listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListenerRegistry

public EventListenerRegistry(Class<T> eventTypeClass)
Method Detail

addListener

public void addListener(IEventListener<E> listener,
                        T... types)

removeListener

public void removeListener(IEventListener<E> listener)

notifyListeners

public void notifyListeners(T eventType,
                            E event)

Faceted Project Framework
Version 1.3

Copyright (c) 2008 BEA Systems, Inc. and others. All rights reserved.