E
- the element typeO
- the generic typeMATCH
- the generic typeMETA
- the generic typeH
- the generic typeDispatchStrategyAccessor
, org.refcodes.observer.EventMatcher<E>
, GenericBusObservable<E,O,MATCH,H>
, GenericBusPublisher<E>
, org.refcodes.component.HandleLookup<H,O>
, org.refcodes.matcher.Matcher<E>
, org.refcodes.observer.Publisher<E>
EventBus
AbstractEventBus
, EventBusImpl
public interface GenericEventBus<E extends org.refcodes.observer.GenericEvent<?>,O extends org.refcodes.observer.Observer<E>,MATCH extends org.refcodes.observer.EventMatcher<E>,META extends org.refcodes.observer.EventMetaData,H> extends GenericBusPublisher<E>, GenericBusObservable<E,O,MATCH,H>, DispatchStrategyAccessor
GenericEventBus
is the (virtual) machine wide manager for
GenericActionEvent
handling.
TIPP: In order to distinguish ActionMetaDataEventImpl
instances from
each other, create an actions enumeration, enumerating the various event
actions you support. Pass the actual action you intend to notify upon to the
according constructor, as an Observer
you may use the declarative
method EventMatcherSugar.actionEqualWith(Object)
to test whether your
action was notified (or a simple switch case statement).
DispatchStrategyAccessor.DispatchStrategyMutator, DispatchStrategyAccessor.DispatchStrategyProperty
Modifier and Type | Method | Description |
---|---|---|
<EVT extends E> |
onAction(Class<EVT> aEventType,
Enum<?> aAction,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
String |
onAction(Enum<?> aAction,
O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
<EVT extends E> |
onActions(Class<EVT> aEventType,
org.refcodes.observer.Observer<EVT> aObserver,
Enum<?>... aActions) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
String |
onActions(O aObserver,
Enum<?>... aActions) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
<EVT extends E> |
onAlias(Class<EVT> aEventType,
String aName,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given name. |
String |
onAlias(String aAlias,
O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given name. |
String |
onCatchAll(O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes all events
passing the Event-Bus. |
<EVT extends E> |
onChannel(Class<EVT> aEventType,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given channel. |
String |
onChannel(String aChannel,
O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given channel. |
String |
onEvent(Class<?> aPublisherType,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onEvent(Class<EVT> aEventType,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(Enum<?> aAction,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
String |
onEvent(String aChannel,
org.refcodes.observer.Observer<E> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
<EVT extends E> |
onGroup(Class<EVT> aEventType,
String aGroup,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given group. |
String |
onGroup(String aGroup,
O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given group. |
<EVT extends E> |
onType(Class<EVT> aEventType,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
of the given type. |
<EVT extends E> |
onUniversalId(Class<EVT> aEventType,
String aUid,
org.refcodes.observer.Observer<EVT> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given Universal-ID. |
String |
onUniversalId(String aUid,
O aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given Universal-ID. |
default void |
publishEvent(E aEvent) |
Publishes an event using the
DispatchStrategy as returned by
DispatchStrategyAccessor.getDispatchStrategy() . |
void |
publishEvent(E aEvent,
DispatchStrategy aDispatchStrategy) |
Publishes an event using the given
DispatchStrategy . |
void |
publishEvent(Class<?> aPublisherType) |
Fires an event with the according properties.
|
void |
publishEvent(Class<?> aPublisherType,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
Class<?> aPublisherType) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
Class<?> aPublisherType,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
String aChannel) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
String aChannel,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
META aEventMetaData) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
META aEventMetaData,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(Enum<?> aAction,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(String aChannel) |
Fires an event with the according properties.
|
void |
publishEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType) |
Fires an event with the according properties.
|
void |
publishEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(String aChannel,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(META aEventMetaData) |
Fires an event with the according properties.
|
void |
publishEvent(META aEventMetaData,
DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
void |
publishEvent(DispatchStrategy aStrategy) |
Fires an event with the according properties.
|
getDispatchStrategy
subscribe, subscribe, subscribe, unsubscribeAll
default void publishEvent(E aEvent)
DispatchStrategy
as returned by
DispatchStrategyAccessor.getDispatchStrategy()
.
publishEvent
in interface org.refcodes.observer.Publisher<E extends org.refcodes.observer.GenericEvent<?>>
void publishEvent(E aEvent, DispatchStrategy aDispatchStrategy)
DispatchStrategy
.aEvent
- aEvent The event to be published.aDispatchStrategy
- The DispatchStrategy
to be used when
publishing the event.String onEvent(Class<?> aPublisherType, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.String onEvent(String aChannel, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.String onEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.String onEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.String onEvent(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.String onEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes.aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.String onEvent(Enum<?> aAction, org.refcodes.observer.Observer<E> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!aAction
- The action which this represents.aObserver
- The observer to be notified.String onAlias(String aAlias, O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given name.aAlias
- The name for which to subscribe.aObserver
- The observer to be notified.String onChannel(String aChannel, O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given channel.aChannel
- The channel to which to subscribe to.aObserver
- The observer to be notified.String onGroup(String aGroup, O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given group.aGroup
- The group to which to subscribe to.aObserver
- The observer to be notified.String onUniversalId(String aUid, O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given Universal-ID.aUid
- The Universal-ID to which to subscribe to.aObserver
- The observer to be notified.String onAction(Enum<?> aAction, O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.aAction
- The action to which to subscribe to.aObserver
- The observer to be notified.String onActions(O aObserver, Enum<?>... aActions)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.aObserver
- The observer to be notified.aActions
- The actions to which to subscribe to.String onCatchAll(O aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes all events
passing the Event-Bus. Call it a "catch-all" hook.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.<EVT extends E> String onEvent(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAction
- The action which this represents.aObserver
- The observer to be notified.<EVT extends E> String onType(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
of the given type. Your Observable
may be of the required type!EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aObserver
- The observer to be notified.<EVT extends E> String onAlias(Class<EVT> aEventType, String aName, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given name.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aName
- The name for which to subscribe.aObserver
- The observer to be notified.<EVT extends E> String onChannel(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given channel.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aChannel
- The channel to which to subscribe to.aObserver
- The observer to be notified.<EVT extends E> String onGroup(Class<EVT> aEventType, String aGroup, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given group.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aGroup
- The group to which to subscribe to.aObserver
- The observer to be notified.<EVT extends E> String onUniversalId(Class<EVT> aEventType, String aUid, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given Universal-ID.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aUid
- The Universal-ID to which to subscribe to.aObserver
- The observer to be notified.<EVT extends E> String onAction(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aAction
- The action to which to subscribe to.aObserver
- The observer to be notified.<EVT extends E> String onActions(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver, Enum<?>... aActions)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.EVT
- The type of the event to subscribe for.aEventType
- The event type to subscribe for.aObserver
- The observer to be notified.aActions
- The actions to which to subscribe to.void publishEvent(Class<?> aPublisherType)
aPublisherType
- The type of the event publisher.void publishEvent(String aChannel)
aChannel
- The channel name on which the event is receivable.void publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.void publishEvent(Enum<?> aAction, Class<?> aPublisherType)
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.void publishEvent(Enum<?> aAction, String aChannel)
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.void publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.void publishEvent(META aEventMetaData)
aEventMetaData
- The Meta-Data to be supplied by the event.void publishEvent(Enum<?> aAction, META aEventMetaData)
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to be supplied by the event.void publishEvent(Enum<?> aAction)
aAction
- The action which this represents.void publishEvent(Class<?> aPublisherType, DispatchStrategy aStrategy)
aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(String aChannel, DispatchStrategy aStrategy)
aChannel
- The channel name on which the event is receivable.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, DispatchStrategy aStrategy)
aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(Enum<?> aAction, Class<?> aPublisherType, DispatchStrategy aStrategy)
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(Enum<?> aAction, String aChannel, DispatchStrategy aStrategy)
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, DispatchStrategy aStrategy)
aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(META aEventMetaData, DispatchStrategy aStrategy)
aEventMetaData
- The Meta-Data to be supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(Enum<?> aAction, META aEventMetaData, DispatchStrategy aStrategy)
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to be supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(Enum<?> aAction, DispatchStrategy aStrategy)
aAction
- The action which this represents.aStrategy
- The DispatchStrategy
to use when dispatching the
event.void publishEvent(DispatchStrategy aStrategy)
aStrategy
- The DispatchStrategy
to use when dispatching the
event.Copyright © 2018. All rights reserved.