net.sf.doolin.bus.support
Class SubscriptionCountBusLog
java.lang.Object
net.sf.doolin.bus.support.DefaultBusLog
net.sf.doolin.bus.support.SubscriptionCountBusLog
- All Implemented Interfaces:
- BusLog
public class SubscriptionCountBusLog
- extends DefaultBusLog
This BusLog counts the number of subscriptions in
the Bus.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionCountBusLog
public SubscriptionCountBusLog()
registrationOk
public void registrationOk(Subscriber<?> subscriber)
- Description copied from interface:
BusLog
- This method is called when a subscriber is successfully registered.
- Specified by:
registrationOk in interface BusLog- Overrides:
registrationOk in class DefaultBusLog
- Parameters:
subscriber - Registered subscriber.
unregistration
public void unregistration(Subscriber<?> subscriber)
- Description copied from interface:
BusLog
- This method is called when a subscriber is unregistered.
- Specified by:
unregistration in interface BusLog- Overrides:
unregistration in class DefaultBusLog
- Parameters:
subscriber - Unregistered subscriber.
Copyright © 2011. All Rights Reserved.