java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent<A,EM,SRC>
org.refcodes.observer.AbstractPayloadMetaDataActionEvent<Enum<?>,P,org.refcodes.mixin.EventMetaData,ApplicationBus>
org.refcodes.eventbus.ext.application.PayloadBusEventImpl<P>
All Implemented Interfaces:
ApplicationBusEvent, PayloadBusEvent<P>, 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.PayloadAccessor<P>, org.refcodes.mixin.SourceAccessor<ApplicationBus>, org.refcodes.observer.GenericActionEvent<Enum<?>,ApplicationBus>, org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus>, org.refcodes.observer.GenericActionPayloadEvent<Enum<?>,P,ApplicationBus>, org.refcodes.observer.GenericActionPayloadMetaDataEvent<Enum<?>,P,org.refcodes.mixin.EventMetaData,ApplicationBus>, org.refcodes.observer.GenericEvent<ApplicationBus>, org.refcodes.observer.GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,ApplicationBus>, org.refcodes.observer.GenericPayloadEvent<P,ApplicationBus>, org.refcodes.observer.GenericPayloadMetaDataEvent<P,org.refcodes.mixin.EventMetaData,ApplicationBus>

public class PayloadBusEventImpl<P> extends org.refcodes.observer.AbstractPayloadMetaDataActionEvent<Enum<?>,P,org.refcodes.mixin.EventMetaData,ApplicationBus> implements PayloadBusEvent<P>
Intuitive Meta-Class for the PayloadMetaDataActionEventImpl as used by the ApplicationBus.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.refcodes.observer.AbstractPayloadMetaDataActionEvent

    org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder<A extends Object,P extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM,SRC,B>>

    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.observer.GenericActionPayloadMetaDataEvent

    org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A extends Object,P extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,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.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.mixin.PayloadAccessor

    org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object>

    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 Summary

    Constructors
    Constructor
    Description
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with predefined values for the according properties retrieved from the caller's class.
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with the given values for the according properties.
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with the given values for the according properties.
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, String aChannel, ApplicationBus aSource)
    Constructs an event with predefined values for the according properties retrieved from the caller's class.
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, ApplicationBus aSource)
    Constructs an event with the given Meta-Data.
    PayloadBusEventImpl(Enum<?> aAction, P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
    Constructs an event with the given Meta-Data.
    PayloadBusEventImpl(P aPayload, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with predefined values for the according properties retrieved from the caller's class.
    PayloadBusEventImpl(P aPayload, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with the given values for the according properties.
    PayloadBusEventImpl(P aPayload, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
    Constructs an event with the given values for the according properties.
    PayloadBusEventImpl(P aPayload, String aChannel, ApplicationBus aSource)
    Constructs an event with predefined values for the according properties retrieved from the caller's class.
    PayloadBusEventImpl(P aPayload, ApplicationBus aSource)
    Constructs an event with the given Meta-Data.
    PayloadBusEventImpl(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
    Constructs an event with the given Meta-Data.
  • Method Summary

    Methods inherited from class org.refcodes.observer.AbstractPayloadMetaDataActionEvent

    getPayload

    Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent

    getMetaData, toString

    Methods inherited from class org.refcodes.observer.AbstractActionEvent

    getAction

    Methods inherited from class org.refcodes.observer.AbstractEvent

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    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.PayloadAccessor

    getPayload, getPayloadOr

    Methods inherited from interface org.refcodes.mixin.SourceAccessor

    getSource
  • Constructor Details

    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, 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.
      aPayload - The payload to be carried by the event.
      aPublisherType - The type of the event publisher.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, 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.
      aPayload - The payload to be carried by the event.
      aChannel - The channel name on which the event is receivable.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, 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.
      aPayload - The payload 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.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
      Constructs an event with the given values for the according properties.
      Parameters:
      aAction - The action which this represents.
      aPayload - The payload to be carried by the event.
      aChannel - The channel property.
      aPublisherType - The type of the event publisher.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
      Constructs an event with the given Meta-Data.
      Parameters:
      aAction - The action which the event represents.
      aPayload - The payload to be carried by the event.
      aEventMetaData - The Meta-Data to by supplied by the event.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(Enum<?> aAction, P aPayload, ApplicationBus aSource)
      Constructs an event with the given Meta-Data.
      Parameters:
      aAction - The action which the event represents.
      aPayload - The payload to be carried by the event.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, Class<?> aPublisherType, ApplicationBus aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      Parameters:
      aPayload - The payload to be carried by the event.
      aPublisherType - The type of the event publisher.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, String aChannel, ApplicationBus aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      Parameters:
      aPayload - The payload to be carried by the event.
      aChannel - The channel name on which the event is receivable.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
      Constructs an event with the given values for the according properties.
      Parameters:
      aPayload - The payload 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.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
      Constructs an event with the given Meta-Data.
      Parameters:
      aPayload - The payload to be carried by the event.
      aEventMetaData - The Meta-Data to by supplied by the event.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, ApplicationBus aSource)
      Constructs an event with the given Meta-Data.
      Parameters:
      aPayload - The payload to be carried by the event.
      aSource - The source from which this event originated.
    • PayloadBusEventImpl

      public PayloadBusEventImpl(P aPayload, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
      Constructs an event with the given values for the according properties.
      Parameters:
      aPayload - The payload to be carried by the event.
      aChannel - The channel for the EventMetaData.
      aPublisherType - The name for the EventMetaData.
      aSource - The according source (origin).