org.oddjob.beanbus
Class TrackingBusListener
java.lang.Object
org.oddjob.beanbus.TrackingBusListener
public class TrackingBusListener
- extends Object
Provide empty implementations of all BusListener
methods
to make implementing bus listeners easier.
This allows BusConductor to be tracked because it will be set each
time a bus part is configured.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackingBusListener
public TrackingBusListener()
setBusConductor
public void setBusConductor(BusConductor busConductor)
busStarting
public void busStarting(BusEvent event)
throws BusCrashException
- Throws:
BusCrashException
tripBeginning
public void tripBeginning(BusEvent event)
throws BusCrashException
- Throws:
BusCrashException
tripEnding
public void tripEnding(BusEvent event)
throws BusCrashException
- Throws:
BusCrashException
busStopRequested
public void busStopRequested(BusEvent event)
busStopping
public void busStopping(BusEvent event)
throws BusCrashException
- Throws:
BusCrashException
busCrashed
public void busCrashed(BusEvent event)
busTerminated
public void busTerminated(BusEvent event)
getBusConductor
public BusConductor getBusConductor()