Interface ApplicationBus
-
- All Superinterfaces:
org.refcodes.component.Destroyable
,DestroyBus
,org.refcodes.eventbus.DispatchStrategyAccessor
,org.refcodes.eventbus.EventBusObservable<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,String>
,org.refcodes.eventbus.EventBusPublisher<ApplicationBusEvent>
,org.refcodes.observer.EventMatcher<ApplicationBusEvent>
,ExceptionBus
,org.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
,org.refcodes.component.HandleLookup<String,org.refcodes.observer.Observer<ApplicationBusEvent>>
,InitializeBus
,LifecycleBus
,org.refcodes.matcher.Matcher<ApplicationBusEvent>
,MessageBus
,PauseBus
,PayloadBus
,PropertiesBus
,org.refcodes.observer.Publisher<ApplicationBusEvent>
,ResumeBus
,StartBus
,StopBus
- All Known Subinterfaces:
MessagePropertiesBus
- All Known Implementing Classes:
ApplicationBusImpl
public interface ApplicationBus extends org.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>, PayloadBus, PropertiesBus, MessageBus, ExceptionBus, LifecycleBus
TheApplicationBus
extends theGenericEventBus
with convenience functionality common to everyday application and service development as defined by the interfacesPayloadBus
,PropertiesBus
,MessageBus
,ExceptionBus
as well asLifecycleBus
on top of theGenericEventBus
. To ensure controlledLifecycleBusObserver
bootstrapping (subscribed viaLifecycleBus.onLifecycle(LifecycleBusObserver)
and the like), theInitializeBusEvent
instances fired upon calls to methods such asInitializeBus.publishInitialize(Properties)
(and the like) are (if not stated otherwise) dispatched with theDispatchStrategy.CASCADE
strategy. Same applies to service "shutdown" as ofPauseBus.publishPause()
,StopBus.publishStop()
orDestroyBus.publishDestroy()
(and the like) which are also dispatched by default with theDispatchStrategy.CASCADE
strategy. This means that the observer methodsLifecycleBusObserver.onInitialize(InitializeBusEvent)
,LifecycleBusObserver.onPause(PauseBusEvent)
,LifecycleBusObserver.onStop(StopBusEvent)
andLifecycleBusObserver.onDestroy(DestroyBusEvent)
must exit the invoking thread as soon as possible so not to block succeeding listener methods. As initialization is processed in a controlled manner (as mentioned above), starting or resuming theLifecycleBusObserver
instances is done with theDispatchStrategy.PARALLEL
as we enter normal operation. This means that the observer methodsLifecycleBusObserver.onStart(StartBusEvent)
andLifecycleBusObserver.onResume(ResumeBusEvent)
do not need to exit the invoking thread as they cannot block succeeding listener methods.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
onAction(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onAction(Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onActions(Class<ApplicationBusEvent> aEventType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver, Enum<?>... aActions)
default String
onActions(org.refcodes.observer.Observer<ApplicationBusEvent> aObserver, Enum<?>... aActions)
default String
onAlias(Class<ApplicationBusEvent> aEventType, String aName, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onAlias(String aName, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onCatchAll(org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onChannel(Class<ApplicationBusEvent> aEventType, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onChannel(String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Class<ApplicationBusEvent> aEventType, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onEvent(String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onGroup(Class<ApplicationBusEvent> aEventType, String aGroup, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onGroup(String aGroup, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default <EVT extends ApplicationBusEvent>
StringonType(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
default String
onUniversalId(Class<ApplicationBusEvent> aEventType, String aUid, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default String
onUniversalId(String aUid, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
default void
publishEvent(Class<?> aPublisherType)
default void
publishEvent(Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(Enum<?> aAction)
default void
publishEvent(Enum<?> aAction, Class<?> aPublisherType)
default void
publishEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(Enum<?> aAction, String aChannel)
default void
publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
default void
publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(Enum<?> aAction, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(Enum<?> aAction, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData)
default void
publishEvent(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(String aChannel)
default void
publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
default void
publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(org.refcodes.eventbus.DispatchStrategy aStrategy)
default void
publishEvent(org.refcodes.mixin.EventMetaData aEventMetaData)
default void
publishEvent(org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
default <EVT extends ApplicationBusEvent>
Stringsubscribe(Class<EVT> aEventType, ApplicationEventMatcher aEventMatcher, org.refcodes.observer.Observer<EVT> aObserver)
default <EVT extends ApplicationBusEvent>
Stringsubscribe(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
-
Methods inherited from interface org.refcodes.eventbus.ext.application.DestroyBus
onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy
-
Methods inherited from interface org.refcodes.eventbus.ext.application.ExceptionBus
onException, onException, onException, onException, onException, onException, onException, onException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException
-
Methods inherited from interface org.refcodes.component.HandleLookup
hasHandle, lookupHandle, removeHandle
-
Methods inherited from interface org.refcodes.eventbus.ext.application.InitializeBus
onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize
-
Methods inherited from interface org.refcodes.eventbus.ext.application.LifecycleBus
onLifecycle, onLifecycle, onLifecycle, onLifecycle, onLifecycle, onLifecycle, onLifecycle, onLifecycle
-
Methods inherited from interface org.refcodes.eventbus.ext.application.MessageBus
onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage
-
Methods inherited from interface org.refcodes.eventbus.ext.application.PauseBus
onPause, onPause, onPause, onPause, onPause, onPause, onPause, onPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause
-
Methods inherited from interface org.refcodes.eventbus.ext.application.PayloadBus
onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload
-
Methods inherited from interface org.refcodes.eventbus.ext.application.PropertiesBus
onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties
-
Methods inherited from interface org.refcodes.eventbus.ext.application.ResumeBus
onResume, onResume, onResume, onResume, onResume, onResume, onResume, onResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume
-
Methods inherited from interface org.refcodes.eventbus.ext.application.StartBus
onStart, onStart, onStart, onStart, onStart, onStart, onStart, onStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart
-
Methods inherited from interface org.refcodes.eventbus.ext.application.StopBus
onStop, onStop, onStop, onStop, onStop, onStop, onStop, onStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop
-
-
-
-
Method Detail
-
onAlias
default String onAlias(String aName, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onAlias
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onChannel
default String onChannel(String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onChannel
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onGroup
default String onGroup(String aGroup, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onGroup
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onUniversalId
default String onUniversalId(String aUid, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onUniversalId
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onAction
default String onAction(Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onAction
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onActions
default String onActions(org.refcodes.observer.Observer<ApplicationBusEvent> aObserver, Enum<?>... aActions)
- Specified by:
onActions
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onCatchAll
default String onCatchAll(org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onCatchAll
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onEvent
default String onEvent(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
subscribe
default <EVT extends ApplicationBusEvent> String subscribe(Class<EVT> aEventType, ApplicationEventMatcher aEventMatcher, org.refcodes.observer.Observer<EVT> aObserver)
- Specified by:
subscribe
in interfaceorg.refcodes.eventbus.EventBusObservable<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,String>
-
subscribe
default <EVT extends ApplicationBusEvent> String subscribe(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
- Specified by:
subscribe
in interfaceorg.refcodes.eventbus.EventBusObservable<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,String>
-
onType
default <EVT extends ApplicationBusEvent> String onType(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
- Specified by:
onType
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onAlias
default String onAlias(Class<ApplicationBusEvent> aEventType, String aName, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onAlias
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onChannel
default String onChannel(Class<ApplicationBusEvent> aEventType, String aChannel, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onChannel
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onGroup
default String onGroup(Class<ApplicationBusEvent> aEventType, String aGroup, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onGroup
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onUniversalId
default String onUniversalId(Class<ApplicationBusEvent> aEventType, String aUid, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onUniversalId
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onAction
default String onAction(Class<ApplicationBusEvent> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver)
- Specified by:
onAction
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
onActions
default String onActions(Class<ApplicationBusEvent> aEventType, org.refcodes.observer.Observer<ApplicationBusEvent> aObserver, Enum<?>... aActions)
- Specified by:
onActions
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Class<?> aPublisherType)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(String aChannel)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, Class<?> aPublisherType)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, String aChannel)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(org.refcodes.mixin.EventMetaData aEventMetaData)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(Enum<?> aAction, org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
publishEvent
default void publishEvent(org.refcodes.eventbus.DispatchStrategy aStrategy)
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,org.refcodes.observer.Observer<ApplicationBusEvent>,ApplicationEventMatcher,org.refcodes.mixin.EventMetaData,String>
-
-