org.oddjob.beanbus
Class TrackingBusListener

java.lang.Object
  extended by 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

Constructor Summary
TrackingBusListener()
           
 
Method Summary
 void busCrashed(BusEvent event)
           
 void busStarting(BusEvent event)
           
 void busStopping(BusEvent event)
           
 void busStopRequested(BusEvent event)
           
 void busTerminated(BusEvent event)
           
 BusConductor getBusConductor()
           
 void setBusConductor(BusConductor busConductor)
           
 void tripBeginning(BusEvent event)
           
 void tripEnding(BusEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackingBusListener

public TrackingBusListener()
Method Detail

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()