Interface ApplicationBus

    • Method Detail

      • onAlias

        default java.lang.String onAlias​(java.lang.String aName,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onAlias in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onChannel

        default java.lang.String onChannel​(java.lang.String aChannel,
                                           org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onChannel in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onGroup

        default java.lang.String onGroup​(java.lang.String aGroup,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onGroup in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onUniversalId

        default java.lang.String onUniversalId​(java.lang.String aUid,
                                               org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onUniversalId in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onAction

        default java.lang.String onAction​(java.lang.Enum<?> aAction,
                                          org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onAction in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onActions

        default java.lang.String onActions​(org.refcodes.observer.Observer<ApplicationEvent> aObserver,
                                           java.lang.Enum<?>... aActions)
        Specified by:
        onActions in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onCatchAll

        default java.lang.String onCatchAll​(org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onCatchAll in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.String aChannel,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.String aAlias,
                                         java.lang.String aGroup,
                                         java.lang.String aChannel,
                                         java.lang.String aUid,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.String aChannel,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.String aAlias,
                                         java.lang.String aGroup,
                                         java.lang.String aChannel,
                                         java.lang.String aUid,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         org.refcodes.observer.Observer<ApplicationEvent> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.Class<?> aPublisherType,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.String aChannel,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.String aAlias,
                                                                        java.lang.String aGroup,
                                                                        java.lang.String aChannel,
                                                                        java.lang.String aUid,
                                                                        java.lang.Class<?> aPublisherType,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.Enum<?> aAction,
                                                                        java.lang.Class<?> aPublisherType,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.Enum<?> aAction,
                                                                        java.lang.String aChannel,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.Enum<?> aAction,
                                                                        java.lang.String aAlias,
                                                                        java.lang.String aGroup,
                                                                        java.lang.String aChannel,
                                                                        java.lang.String aUid,
                                                                        java.lang.Class<?> aPublisherType,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onEvent

        default <EVT extends ApplicationEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.Enum<?> aAction,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • subscribe

        default <EVT extends ApplicationEvent> java.lang.String subscribe​(java.lang.Class<EVT> aEventType,
                                                                          org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        subscribe in interface org.refcodes.eventbus.GenericBusObservable<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,java.lang.String>
      • onType

        default <EVT extends ApplicationEvent> java.lang.String onType​(java.lang.Class<EVT> aEventType,
                                                                       org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onType in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onAlias

        default <EVT extends ApplicationEvent> java.lang.String onAlias​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.String aName,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onAlias in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onChannel

        default <EVT extends ApplicationEvent> java.lang.String onChannel​(java.lang.Class<EVT> aEventType,
                                                                          java.lang.String aChannel,
                                                                          org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onChannel in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onGroup

        default <EVT extends ApplicationEvent> java.lang.String onGroup​(java.lang.Class<EVT> aEventType,
                                                                        java.lang.String aGroup,
                                                                        org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onGroup in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onUniversalId

        default <EVT extends ApplicationEvent> java.lang.String onUniversalId​(java.lang.Class<EVT> aEventType,
                                                                              java.lang.String aUid,
                                                                              org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onUniversalId in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onAction

        default <EVT extends ApplicationEvent> java.lang.String onAction​(java.lang.Class<EVT> aEventType,
                                                                         java.lang.Enum<?> aAction,
                                                                         org.refcodes.observer.Observer<EVT> aObserver)
        Specified by:
        onAction in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • onActions

        default <EVT extends ApplicationEvent> java.lang.String onActions​(java.lang.Class<EVT> aEventType,
                                                                          org.refcodes.observer.Observer<EVT> aObserver,
                                                                          java.lang.Enum<?>... aActions)
        Specified by:
        onActions in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Class<?> aPublisherType)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.String aChannel)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.Class<?> aPublisherType)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aChannel)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(org.refcodes.observer.EventMetaData aEventMetaData)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  org.refcodes.observer.EventMetaData aEventMetaData)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Class<?> aPublisherType,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.String aChannel,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.Class<?> aPublisherType,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aChannel,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(org.refcodes.observer.EventMetaData aEventMetaData,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  org.refcodes.observer.EventMetaData aEventMetaData,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
      • publishEvent

        default void publishEvent​(org.refcodes.eventbus.DispatchStrategy aStrategy)
        Specified by:
        publishEvent in interface org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,java.lang.String>