Class PropertiesBusEventImpl

  • All Implemented Interfaces:
    org.refcodes.configuration.PropertiesAccessor, ApplicationEvent, PropertiesBusEvent, org.refcodes.eventbus.GenericBusEvent<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus>, org.refcodes.mixin.ActionAccessor<Enum<?>>, org.refcodes.mixin.MetaDataAccessor<Enum<?>>, org.refcodes.mixin.SourceAccessor<Enum<?>>, org.refcodes.observer.GenericActionEvent<Enum<?>,org.refcodes.mixin.EventMetaData>, org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus>, org.refcodes.observer.GenericEvent<Enum<?>>, org.refcodes.observer.GenericMetaDataEvent<Enum<?>,org.refcodes.mixin.EventMetaData>
    Direct Known Subclasses:
    InitializeBusEvent


    public class PropertiesBusEventImpl
    extends ApplicationEventImpl
    implements PropertiesBusEvent
    Implementation of the PropertiesBusEvent.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.refcodes.observer.AbstractActionMetaDataEvent

        org.refcodes.observer.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

        org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>
      • Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent

        org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
      • Nested classes/interfaces inherited from interface org.refcodes.eventbus.GenericBusEvent

        org.refcodes.eventbus.GenericBusEvent.GenericBusEventBuilder<A extends Object,META extends org.refcodes.mixin.EventMetaData,SRC extends org.refcodes.eventbus.GenericEventBus<?,?,?,?,?>,B extends org.refcodes.eventbus.GenericBusEvent.GenericBusEventBuilder<A,META,SRC,B>>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor

        org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD extends Object,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends Object>
      • Nested classes/interfaces inherited from interface org.refcodes.configuration.PropertiesAccessor

        org.refcodes.configuration.PropertiesAccessor.PropertiesBuilder<B extends org.refcodes.configuration.PropertiesAccessor.PropertiesBuilder<B>>, org.refcodes.configuration.PropertiesAccessor.PropertiesMutator, org.refcodes.configuration.PropertiesAccessor.PropertiesProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
    • Field Summary

      • Fields inherited from class org.refcodes.observer.AbstractActionEvent

        _action
      • Fields inherited from class org.refcodes.observer.AbstractActionMetaDataEvent

        _eventMetaData
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.refcodes.configuration.Properties getProperties​()
      • Methods inherited from class org.refcodes.observer.AbstractActionEvent

        getAction
      • Methods inherited from class org.refcodes.observer.AbstractActionMetaDataEvent

        getMetaData, toString
      • Methods inherited from class org.refcodes.observer.AbstractEvent

        getSource
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor

        getAction
      • Methods inherited from interface org.refcodes.mixin.MetaDataAccessor

        getMetaData
      • Methods inherited from interface org.refcodes.mixin.SourceAccessor

        getSource
    • Constructor Detail

      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aProperties - The properties to carry.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      org.refcodes.mixin.EventMetaData aEventMetaData,
                                      ApplicationBus aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      ApplicationBus aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      String aChannel,
                                      ApplicationBus aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        aChannel - The channel name on which the event is receivable.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      String aAlias,
                                      String aGroup,
                                      String aChannel,
                                      String aUid,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        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.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      org.refcodes.mixin.EventMetaData aEventMetaData,
                                      ApplicationBus aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aProperties - The properties to carry.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      ApplicationBus aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aProperties - The properties to carry.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      String aChannel,
                                      ApplicationBus aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aProperties - The properties to carry.
        aChannel - The channel name on which the event is receivable.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      String aAlias,
                                      String aGroup,
                                      String aChannel,
                                      String aUid,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aProperties - The properties to carry.
        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.
        aSource - The source from which this event originated.
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(org.refcodes.configuration.Properties aProperties,
                                      String aChannel,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aProperties - The properties to carry.
        aChannel - The channel for the EventMetaData.
        aPublisherType - The name for the EventMetaData.
        aSource - The according source (origin).
      • PropertiesBusEventImpl

        public PropertiesBusEventImpl​(Enum<?> aAction,
                                      org.refcodes.configuration.Properties aProperties,
                                      String aChannel,
                                      Class<?> aPublisherType,
                                      ApplicationBus aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aAction - The action which this represents.
        aProperties - The properties to carry.
        aChannel - The channel property.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
    • Method Detail

      • getProperties

        public org.refcodes.configuration.Properties getProperties​()
        Specified by:
        getProperties in interface org.refcodes.configuration.PropertiesAccessor