public interface BusListener extends EventListener
BeanBus
events broadcast by
an BusConductor
.Modifier and Type | Method and Description |
---|---|
void |
busCrashed(BusEvent event)
Called if the bus has crashed.
|
void |
busStarting(BusEvent event)
The bus is starting.
|
void |
busStopping(BusEvent event)
The bus is stopping.
|
void |
busStopRequested(BusEvent event) |
void |
busTerminated(BusEvent event)
The bus has terminated.
|
void |
tripBeginning(BusEvent event)
Stage starting.
|
void |
tripEnding(BusEvent event)
Stage complete.
|
void busStarting(BusEvent event) throws BusCrashException
event
- BusCrashException
void tripBeginning(BusEvent event) throws BusCrashException
event
- BusCrashException
void tripEnding(BusEvent event) throws BusCrashException
event
- BusCrashException
void busStopping(BusEvent event) throws BusCrashException
event
- BusCrashException
void busStopRequested(BusEvent event)
event
- void busTerminated(BusEvent event)
busStopping
or busCrashed
notification. Always called.event
- void busCrashed(BusEvent event)
event
-