Class InitializeBusEvent

  • All Implemented Interfaces:
    org.refcodes.component.ext.observer.GenericInitializeEvent<Enum<?>,​org.refcodes.mixin.EventMetaData,​ApplicationBus>, org.refcodes.component.ext.observer.GenericLifecycleRequestEvent<Enum<?>,​org.refcodes.mixin.EventMetaData,​ApplicationBus>, org.refcodes.component.LifecycleRequestAccessor, ApplicationBusEvent, LifecycleBusEvent, PropertiesBusEvent, org.refcodes.eventbus.GenericEventBusEvent<Enum<?>,​org.refcodes.mixin.EventMetaData,​ApplicationBus>, org.refcodes.mixin.ActionAccessor<Enum<?>>, org.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>, org.refcodes.mixin.SourceAccessor<ApplicationBus>, org.refcodes.observer.GenericActionEvent<Enum<?>,​ApplicationBus>, org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,​org.refcodes.mixin.EventMetaData,​ApplicationBus>, org.refcodes.observer.GenericEvent<ApplicationBus>, org.refcodes.observer.GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,​ApplicationBus>, org.refcodes.properties.PropertiesAccessor

    public class InitializeBusEvent
    extends PropertiesBusEventImpl
    implements LifecycleBusEvent, org.refcodes.component.ext.observer.GenericInitializeEvent<Enum<?>,​org.refcodes.mixin.EventMetaData,​ApplicationBus>
    Implementation of the LifecycleBusEvent for LifecycleRequest.INITIALIZE with an additional Properties object for configuration.
    • Nested Class Summary

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

        org.refcodes.observer.AbstractMetaDataActionEvent.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.GenericEventBusEvent

        org.refcodes.eventbus.GenericEventBusEvent.GenericEventBusEventBuilder<A extends Object,​META extends org.refcodes.mixin.EventMetaData,​SRC extends org.refcodes.eventbus.GenericEventBus<?,​?,​?,​?,​?>,​B extends org.refcodes.eventbus.GenericEventBusEvent.GenericEventBusEventBuilder<A,​META,​SRC,​B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.LifecycleRequestAccessor

        org.refcodes.component.LifecycleRequestAccessor.LifecycleRequestMutator, org.refcodes.component.LifecycleRequestAccessor.LifecycleRequestProperty
      • 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.properties.PropertiesAccessor

        org.refcodes.properties.PropertiesAccessor.PropertiesBuilder<B extends org.refcodes.properties.PropertiesAccessor.PropertiesBuilder<B>>, org.refcodes.properties.PropertiesAccessor.PropertiesMutator, org.refcodes.properties.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.AbstractMetaDataActionEvent

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

        _action
    • Constructor Detail

      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aEventMetaData - the event Meta-Data
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(String aChannel,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aChannel - The channel for the EventMetaData.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  org.refcodes.mixin.EventMetaData aEventMetaData,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aEventMetaData - the event Meta-Data
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  String aChannel,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aChannel - The channel for the EventMetaData.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  Class<?> aPublisherType,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aPublisherType - The publisher type for the EventMetaData.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  String aAlias,
                                  String aGroup,
                                  String aChannel,
                                  String aUid,
                                  Class<?> aPublisherType,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aAlias - The alias for the EventMetaData.
        aGroup - The group for the EventMetaData.
        aChannel - The channel for the EventMetaData.
        aUid - The Universal-TID for the EventMetaData.
        aPublisherType - The name for the EventMetaData.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.properties.Properties aProperties,
                                  String aChannel,
                                  Class<?> aPublisherType,
                                  ApplicationBus aSource)
        Instantiates a new initialize event.
        Parameters:
        aProperties - The properties to carry.
        aChannel - The channel for the EventMetaData.
        aPublisherType - The name for the EventMetaData.
        aSource - The according source (origin).
    • Method Detail

      • getSource

        public ApplicationBus getSource()
        Specified by:
        getSource in interface org.refcodes.mixin.SourceAccessor<ApplicationBus>
        Overrides:
        getSource in class org.refcodes.observer.AbstractEvent<ApplicationBus>