org.ops4j.pax.coin.repository
Class ListenerRepository<O,L extends Listener<O>>

java.lang.Object
  extended by org.ops4j.pax.coin.repository.ListenerRepository<O,L>
All Implemented Interfaces:
Notifier<O>, Observable<O,L>

public class ListenerRepository<O,L extends Listener<O>>
extends Object
implements Observable<O,L>, Notifier<O>

TODO Add JavaDoc

Since:
0.3.0, February 27, 2008
Author:
Alin Dreghiciu

Constructor Summary
ListenerRepository()
          Constructor.
 
Method Summary
 void addListener(L listener)
           
 void notifyRegistered(O observed)
           
 void notifyUnregistered(O observed)
           
 void removeListener(L listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerRepository

public ListenerRepository()
Constructor.

Method Detail

addListener

public void addListener(L listener)
Specified by:
addListener in interface Observable<O,L extends Listener<O>>
See Also:
Observable.addListener(Listener)

removeListener

public void removeListener(L listener)
Specified by:
removeListener in interface Observable<O,L extends Listener<O>>
See Also:
Observable.removeListener(Listener)

notifyRegistered

public void notifyRegistered(O observed)
Specified by:
notifyRegistered in interface Notifier<O>
See Also:
Notifier.notifyRegistered(Object)

notifyUnregistered

public void notifyUnregistered(O observed)
Specified by:
notifyUnregistered in interface Notifier<O>
See Also:
Notifier.notifyUnregistered(Object)


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.