public interface EventBus extends GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
EventBus
defines a predefined GenericEventBus
tailored to
use the ActionMetaDataEvent
as event type to use. This grants
interoperability with other ActionMetaDataEvent
based systems.DispatchStrategyAccessor.DispatchStrategyMutator, DispatchStrategyAccessor.DispatchStrategyProperty
Modifier and Type | Method and Description |
---|---|
default <EVT extends BusEvent> |
onAction(Class<EVT> aEventType,
Enum<?> aAction,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
default String |
onAction(Enum<?> aAction,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given action. |
default String |
onCatchAll(org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes all events
passing the Event-Bus. |
default <EVT extends BusEvent> |
onChannel(Class<EVT> aEventType,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given channel. |
default String |
onChannel(String aChannel,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given channel. |
default String |
onEvent(Class<?> aPublisherType,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onEvent(Class<EVT> aEventType,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onEvent(Class<EVT> aEventType,
Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
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
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onEvent(Class<EVT> aEventType,
String aChannel,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
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
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(Enum<?> aAction,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(String aChannel,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default String |
onEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given attributes. |
default <EVT extends BusEvent> |
onGroup(Class<EVT> aEventType,
String aGroup,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given group. |
default String |
onGroup(String aGroup,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given group. |
default <EVT extends BusEvent> |
onName(Class<EVT> aEventType,
String aName,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given name. |
default String |
onName(String aName,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
with the given name. |
default <EVT extends BusEvent> |
onType(Class<EVT> aEventType,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
of the given type. |
default <EVT extends BusEvent> |
onUniversalId(Class<EVT> aEventType,
String aUid,
org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given Universal-ID. |
default String |
onUniversalId(String aUid,
org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic method
BusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events
for the given Universal-ID. |
default void |
publishEvent(Class<?> aPublisherType)
Fires an event with the according properties.
|
default void |
publishEvent(Class<?> aPublisherType,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
Class<?> aPublisherType)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
Class<?> aPublisherType,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
org.refcodes.observer.EventMetaData aEventMetaData)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
org.refcodes.observer.EventMetaData aEventMetaData,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
String aChannel)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
String aChannel,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType)
Fires an event with the according properties.
|
default void |
publishEvent(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(org.refcodes.observer.EventMetaData aEventMetaData)
Fires an event with the according properties.
|
default void |
publishEvent(org.refcodes.observer.EventMetaData aEventMetaData,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(String aChannel)
Fires an event with the according properties.
|
default void |
publishEvent(String aChannel,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default void |
publishEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType)
Fires an event with the according properties.
|
default void |
publishEvent(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
DispatchStrategy aStrategy)
Fires an event with the according properties.
|
default <EVT extends BusEvent> |
subscribe(Class<EVT> aEventType,
BusMatcher aEventMatcher,
org.refcodes.observer.Observer<EVT> aObserver)
Subscribes a listener to the event bus.
|
publishEvent, publishEvent
subscribe, unsubscribeAll
hasHandle, lookupHandle, removeHandle
getDispatchStrategy
default String onName(String aName, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given name.onName
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aName
- The name for which to subscribe.aObserver
- The observer to be notified.default String onChannel(String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given channel.onChannel
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aChannel
- The name channel to which to subscribe to.aObserver
- The observer to be notified.default String onGroup(String aGroup, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given group.onGroup
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aGroup
- The name group to which to subscribe to.aObserver
- The observer to be notified.default String onUniversalId(String aUid, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given Universal-ID.onUniversalId
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aUid
- The name Universal-ID to which to subscribe to.aObserver
- The observer to be notified.default String onAction(Enum<?> aAction, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.onAction
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aAction
- The name action to which to subscribe to.aObserver
- The observer to be notified.default String onCatchAll(org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes all events
passing the Event-Bus. Call it a "catch-all" hook.onCatchAll
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aObserver
- The observer to be notified.default String onEvent(Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onEvent(String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default String onEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default String onEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onEvent(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default String onEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default String onEvent(Enum<?> aAction, org.refcodes.observer.Observer<BusEvent> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aAction
- The action which this represents.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
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.default <EVT extends BusEvent> String onEvent(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given attributes. Your Observable
may be of the required
type!onEvent
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aAction
- The action which this represents.aObserver
- The observer to be notified.default <EVT extends BusEvent> String subscribe(Class<EVT> aEventType, BusMatcher aEventMatcher, org.refcodes.observer.Observer<EVT> aObserver)
subscribe
in interface BusObservable<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventMatcher
- The EventMatcher
to guard the
Observer
.aObserver
- The Observer
to subscribe.default <EVT extends BusEvent> String onType(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
of the given type. Your Observable
may be of the required type!onType
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onName(Class<EVT> aEventType, String aName, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
with the given name.onName
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aName
- The name for which to subscribe.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onChannel(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given channel.onChannel
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aChannel
- The name channel to which to subscribe to.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onGroup(Class<EVT> aEventType, String aGroup, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given group.onGroup
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aGroup
- The name group to which to subscribe to.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onUniversalId(Class<EVT> aEventType, String aUid, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given Universal-ID.onUniversalId
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aUid
- The name Universal-ID to which to subscribe to.aObserver
- The observer to be notified.default <EVT extends BusEvent> String onAction(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
BusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events
for the given action.onAction
in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,String>
aEventType
- The event type to subscribe for.aAction
- The name action to which to subscribe to.aObserver
- The observer to be notified.default void publishEvent(Class<?> aPublisherType)
aPublisherType
- The type of the event publisher.default void publishEvent(String aChannel)
aChannel
- The channel name on which the event is receivable.default 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.default void publishEvent(Enum<?> aAction, Class<?> aPublisherType)
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.default void publishEvent(Enum<?> aAction, String aChannel)
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.default 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.default void publishEvent(org.refcodes.observer.EventMetaData aEventMetaData)
aEventMetaData
- The Meta-Data to by supplied by the event.default void publishEvent(Enum<?> aAction, org.refcodes.observer.EventMetaData aEventMetaData)
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to by supplied by the event.default void publishEvent(Enum<?> aAction)
aAction
- The action which this represents.default void publishEvent(Class<?> aPublisherType, DispatchStrategy aStrategy)
aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default 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.default 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.default 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.default 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.default 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.default void publishEvent(org.refcodes.observer.EventMetaData aEventMetaData, DispatchStrategy aStrategy)
aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishEvent(Enum<?> aAction, org.refcodes.observer.EventMetaData aEventMetaData, DispatchStrategy aStrategy)
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishEvent(Enum<?> aAction, DispatchStrategy aStrategy)
aAction
- The action which this represents.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishEvent(DispatchStrategy aStrategy)
aStrategy
- The DispatchStrategy
to use when dispatching the
event.Copyright © 2018. All rights reserved.