Package it.tidalwave.ui.core.annotation
Annotation Interface EnableMessageBus
If a
Main
class is annotated with EnableMessageBus
, the following things happen:
- a messagebus implementing
MessageBus
is instantiated and made available in the Spring application context (so it can be injected); - a
PowerOnEvent
is fired when the application is ready to be initialised; - a
PowerOffEvent
is fired when the application is going to be closed.
- Since:
- 1.1-ALPHA-6
- Author:
- Fabrizio Giudici