org.oddjob.beanbus
Class BusEvent
java.lang.Object
java.util.EventObject
org.oddjob.beanbus.BusEvent
- All Implemented Interfaces:
- Serializable
public class BusEvent
- extends EventObject
An event on the bus.
- See Also:
- Serialized Form
- Author:
- rob
BusEvent
public BusEvent(BusConductor source,
BusPhase phase)
- Constructor.
- Parameters:
source
- The source of the event.phase
- The phase that caused the event.
BusEvent
public BusEvent(BusConductor source,
BusPhase phase,
Exception busCrashException)
- Constructor for a bus crash event.
- Parameters:
source
- The source of the event.phase
- The phase that caused the event.busCrashException
- The exception that cause the crash.
getSource
public BusConductor getSource()
- Overrides:
getSource
in class EventObject
getPhase
public BusPhase getPhase()
getBusCrashException
public Exception getBusCrashException()