org.ops4j.pax.radman.service.event.repeater
Interface EventQueueListener<E>

All Known Implementing Classes:
EventBroadcasterImpl, EventPersistorImpl, EventServerImpl, EventSubscriber

public interface EventQueueListener<E>

EventQueueListener is a listener interface that may be implemented by a bundle developer. It is used typically with a ServiceTracker and this ServiceTracker holds a reference to one or more EventQueueListeners. On invocations of callback methods ServiceTracker#addingService(ServiceReference), the #addService(EventQueue, ServiceReference) will be called.

Since:
0.1.0
Author:
Gavin Bong
See Also:
EventQueueTracker

Method Summary
 void addService(EventQueue<E> service, org.osgi.framework.ServiceReference reference)
           
 void removeService(EventQueue<E> service, org.osgi.framework.ServiceReference reference)
           
 

Method Detail

addService

void addService(EventQueue<E> service,
                org.osgi.framework.ServiceReference reference)

removeService

void removeService(EventQueue<E> service,
                   org.osgi.framework.ServiceReference reference)


Copyright © 2008. All Rights Reserved.