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>
,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.Matchable<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
The
ApplicationBus
extends the GenericEventBus
with
convenience functionality common to everyday application and service
development as defined by the interfaces PayloadBus
,
PropertiesBus
, MessageBus
, ExceptionBus
as well as
LifecycleBus
on top of the GenericEventBus
. To ensure
controlled LifecycleBusObserver
bootstrapping (subscribed via
LifecycleBus.onLifecycle(LifecycleBusObserver)
and the like), the
InitializeBusEvent
instances fired upon calls to methods such as
InitializeBus.publishInitialize(Properties)
(and the like) are (if not stated
otherwise) dispatched with the DispatchStrategy.CASCADE
strategy.
Same applies to service "shutdown" as of PauseBus.publishPause()
,
StopBus.publishStop()
or DestroyBus.publishDestroy()
(and the like) which are
also dispatched by default with the DispatchStrategy.CASCADE
strategy. This means that the observer methods
LifecycleBusObserver.onInitialize(InitializeBusEvent)
,
LifecycleBusObserver.onPause(PauseBusEvent)
,
LifecycleBusObserver.onStop(StopBusEvent)
and
LifecycleBusObserver.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 the LifecycleBusObserver
instances is
done with the DispatchStrategy.PARALLEL
as we enter normal operation.
This means that the observer methods
LifecycleBusObserver.onStart(StartBusEvent)
and
LifecycleBusObserver.onResume(ResumeBusEvent)
do not need to exit the
invoking thread as they cannot block succeeding listener methods.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable
org.refcodes.component.Destroyable.DestroyAutomaton
Nested classes/interfaces inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor
org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyMutator, org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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>
Stringdefault 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
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>
StringMethods inherited from interface org.refcodes.component.Destroyable
destroy
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.DispatchStrategyAccessor
getDispatchStrategy
Methods inherited from interface org.refcodes.eventbus.EventBusObservable
subscribe, unsubscribeAll
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.eventbus.GenericEventBus
publishEvent, publishEvent
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.matcher.Matchable
isMatching
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 Details
-
onAlias
- 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
- 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
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,
org.refcodes.observer.Observer<ApplicationBusEvent>, ApplicationEventMatcher, org.refcodes.mixin.EventMetaData, String>
-
publishEvent
- 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
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,
org.refcodes.observer.Observer<ApplicationBusEvent>, ApplicationEventMatcher, org.refcodes.mixin.EventMetaData, String>
-
publishEvent
- 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
- Specified by:
publishEvent
in interfaceorg.refcodes.eventbus.GenericEventBus<ApplicationBusEvent,
org.refcodes.observer.Observer<ApplicationBusEvent>, ApplicationEventMatcher, org.refcodes.mixin.EventMetaData, String>
-
publishEvent
- 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
- 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
- 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>
-