Interface MessagePropertiesBus
- All Superinterfaces:
ApplicationBus
,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
The
MessagePropertiesBus
extends the ApplicationBus
with
convenience functionality common to everyday application and service
development regarding dispatching of Properties
instances.-
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 void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aChannel) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType) Publishes an event with the provided properties for the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, String aChannel) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData) Publishes an event with the provided properties and the given attributes.default void
publishProperties
(org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.Methods inherited from interface org.refcodes.eventbus.ext.application.ApplicationBus
onAction, onAction, onActions, onActions, onAlias, onAlias, onCatchAll, onChannel, onChannel, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onGroup, onGroup, onType, onUniversalId, onUniversalId, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, subscribe, subscribe
Methods 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
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
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aPublisherType
- The type of the event publisher.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aChannel) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aChannel
- The channel name on which the event is receivable.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType) Publishes an event with the provided properties for the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which the event represents.aProperties
- The properties to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.
-
publishProperties
Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which the event represents.aProperties
- The properties to be carried by the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aPublisherType
- The type of the event publisher.
-
publishProperties
Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aChannel
- The channel name on which the event is receivable.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aPublisherType
- The type of the event publisher.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aChannel
- The channel name on which the event is receivable.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which this represents.aProperties
- The properties to be carried by the event.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which the event represents.aProperties
- The properties to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(Enum<?> aAction, org.refcodes.properties.Properties aProperties, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aAction
- The action which the event represents.aProperties
- The properties to be carried by the event.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aPublisherType
- The type of the event publisher.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aChannel
- The channel name on which the event is receivable.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-
publishProperties
default void publishProperties(org.refcodes.properties.Properties aProperties, org.refcodes.eventbus.DispatchStrategy aStrategy) Publishes an event with the provided properties and the given attributes.- Specified by:
publishProperties
in interfacePropertiesBus
- Parameters:
aProperties
- The properties to be carried by the event.aStrategy
- TheDispatchStrategy
to use when dispatching the event.
-