Interface MessagePropertiesBus

All Superinterfaces:
ApplicationBus, org.refcodes.eventbus.BusObservable<ApplicationEvent,​org.refcodes.observer.Observer<ApplicationEvent>,​ApplicationMatcher,​String>, org.refcodes.eventbus.BusPublisher<ApplicationEvent>, DestroyBus, org.refcodes.eventbus.DispatchStrategyAccessor, org.refcodes.eventbus.EventBus<ApplicationEvent,​org.refcodes.observer.Observer<ApplicationEvent>,​ApplicationMatcher,​org.refcodes.mixin.EventMetaData,​String>, org.refcodes.observer.EventMatcher<ApplicationEvent>, ExceptionBus, org.refcodes.component.HandleLookup<String,​org.refcodes.observer.Observer<ApplicationEvent>>, InitializeBus, LifeCycleBus, org.refcodes.matcher.Matcher<ApplicationEvent>, MessageBus, PauseBus, PayloadBus, PropertiesBus, org.refcodes.observer.Publisher<ApplicationEvent>, ResumeBus, StartBus, StopBus

public interface MessagePropertiesBus
extends ApplicationBus
The MessagePropertiesBus extends the ApplicationBus with convenience functionality common to everyday application and service development regarding dispatching of Properties instances.
  • 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 interface PropertiesBus
      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 interface PropertiesBus
      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 interface PropertiesBus
      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 interface PropertiesBus
      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

      default void publishProperties​(Enum<?> aAction, org.refcodes.properties.Properties aProperties)
      Publishes an event with the provided properties and the given attributes.
      Specified by:
      publishProperties in interface PropertiesBus
      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 interface PropertiesBus
      Parameters:
      aProperties - The properties to be carried by the event.
      aPublisherType - The type of the event publisher.
    • publishProperties

      default void publishProperties​(org.refcodes.properties.Properties aProperties, String aChannel)
      Publishes an event with the provided properties and the given attributes.
      Specified by:
      publishProperties in interface PropertiesBus
      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 interface PropertiesBus
      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 interface PropertiesBus
      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 interface PropertiesBus
      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 interface PropertiesBus
      Parameters:
      aAction - The action which this represents.
      aProperties - The properties to be carried by the event.
      aPublisherType - The type of the event publisher.
      aStrategy - The DispatchStrategy 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 interface PropertiesBus
      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 - The DispatchStrategy 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 interface PropertiesBus
      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 - The DispatchStrategy 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 interface PropertiesBus
      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 - The DispatchStrategy 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 interface PropertiesBus
      Parameters:
      aAction - The action which the event represents.
      aProperties - The properties to be carried by the event.
      aStrategy - The DispatchStrategy 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 interface PropertiesBus
      Parameters:
      aProperties - The properties to be carried by the event.
      aPublisherType - The type of the event publisher.
      aStrategy - The DispatchStrategy 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 interface PropertiesBus
      Parameters:
      aProperties - The properties to be carried by the event.
      aChannel - The channel name on which the event is receivable.
      aStrategy - The DispatchStrategy 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 interface PropertiesBus
      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 - The DispatchStrategy 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 interface PropertiesBus
      Parameters:
      aProperties - The properties to be carried by the event.
      aEventMetaData - The Meta-Data to by supplied by the event.
      aStrategy - The DispatchStrategy 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 interface PropertiesBus
      Parameters:
      aProperties - The properties to be carried by the event.
      aStrategy - The DispatchStrategy to use when dispatching the event.