Class InitializeBusEvent

  • All Implemented Interfaces:
    org.refcodes.component.ext.observer.GenericInitializeEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.component.ext.observer.GenericLifeCycleRequestEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.component.LifeCycleRequestAccessor, org.refcodes.configuration.PropertiesAccessor, ApplicationEvent, LifeCycleBusEvent, PropertiesBusEvent, org.refcodes.eventbus.GenericBusEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.mixin.ActionAccessor<java.lang.Enum<?>>, org.refcodes.mixin.MetaDataAccessor<java.lang.Enum<?>>, org.refcodes.mixin.SourceAccessor<java.lang.Enum<?>>, org.refcodes.observer.GenericActionEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData>, org.refcodes.observer.GenericActionMetaDataEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.observer.GenericEvent<java.lang.Enum<?>>, org.refcodes.observer.GenericMetaDataEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData>


    public class InitializeBusEvent
    extends PropertiesBusEventImpl
    implements LifeCycleBusEvent, org.refcodes.component.ext.observer.GenericInitializeEvent<java.lang.Enum<?>,org.refcodes.observer.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.AbstractActionMetaDataEvent

        org.refcodes.observer.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.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 java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent

        org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.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 java.lang.Object,META extends org.refcodes.observer.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.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 java.lang.Object,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends java.lang.Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends java.lang.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 java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
    • Field Summary

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

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

        _eventMetaData
    • Constructor Summary

      Constructors 
      Constructor Description
      InitializeBusEvent​(java.lang.String aChannel, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, java.lang.String aChannel, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, java.lang.String aChannel, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.configuration.Properties aProperties, org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(ApplicationBus aSource)
      Instantiates a new initialize event.
      InitializeBusEvent​(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
      Instantiates a new initialize event.
    • Method Summary

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

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

        getMetaData, toString
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor

        getAction
      • Methods inherited from interface org.refcodes.component.ext.observer.GenericInitializeEvent

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

        getMetaData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.observer.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​(java.lang.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.configuration.Properties aProperties,
                                  org.refcodes.observer.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.configuration.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.configuration.Properties aProperties,
                                  java.lang.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.configuration.Properties aProperties,
                                  java.lang.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.configuration.Properties aProperties,
                                  java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.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-ID for the EventMetaData.
        aPublisherType - The name for the EventMetaData.
        aSource - The according source (origin).
      • InitializeBusEvent

        public InitializeBusEvent​(org.refcodes.configuration.Properties aProperties,
                                  java.lang.String aChannel,
                                  java.lang.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<java.lang.Enum<?>>
        Overrides:
        getSource in class org.refcodes.observer.AbstractEvent<ApplicationBus>