Class PayloadBusEventImpl<P>
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractActionEvent<A,SRC>
-
- org.refcodes.observer.AbstractActionMetaDataEvent<A,EM,SRC>
-
- org.refcodes.observer.AbstractActionPayloadMetaDataEvent<java.lang.Enum<?>,P,org.refcodes.observer.EventMetaData,ApplicationBus>
-
- org.refcodes.eventbus.ext.application.PayloadBusEventImpl<P>
-
- All Implemented Interfaces:
ApplicationEvent
,PayloadBusEvent<P>
,org.refcodes.eventbus.GenericBusEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
,org.refcodes.mixin.ActionAccessor<java.lang.Enum<?>>
,org.refcodes.mixin.MetaDataAccessor<org.refcodes.observer.EventMetaData>
,org.refcodes.mixin.PayloadAccessor<P>
,org.refcodes.mixin.SourceAccessor<ApplicationBus>
,org.refcodes.observer.GenericActionEvent<java.lang.Enum<?>,ApplicationBus>
,org.refcodes.observer.GenericActionMetaDataEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
,org.refcodes.observer.GenericActionPayloadEvent<java.lang.Enum<?>,P,ApplicationBus>
,org.refcodes.observer.GenericActionPayloadMetaDataEvent<java.lang.Enum<?>,P,org.refcodes.observer.EventMetaData,ApplicationBus>
,org.refcodes.observer.GenericEvent<ApplicationBus>
,org.refcodes.observer.GenericMetaDataEvent<org.refcodes.observer.EventMetaData,ApplicationBus>
,org.refcodes.observer.GenericPayloadEvent<P,ApplicationBus>
,org.refcodes.observer.GenericPayloadMetaDataEvent<P,org.refcodes.observer.EventMetaData,ApplicationBus>
public class PayloadBusEventImpl<P> extends org.refcodes.observer.AbstractActionPayloadMetaDataEvent<java.lang.Enum<?>,P,org.refcodes.observer.EventMetaData,ApplicationBus> implements PayloadBusEvent<P>
Intuitive Meta-Class for theActionPayloadMetaDataEventImpl
as used by theApplicationBus
.
-
-
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 class org.refcodes.observer.AbstractActionPayloadMetaDataEvent
org.refcodes.observer.AbstractActionPayloadMetaDataEvent.AbstractActionPayloadMetaDataEventBuilder<A extends java.lang.Object,P extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.Object,B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,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.eventbus.ext.application.ApplicationEvent
ApplicationEvent.ApplicationEventBuilder
-
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.observer.GenericActionPayloadMetaDataEvent
org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A extends java.lang.Object,P extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.Object,B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,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.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.mixin.PayloadAccessor
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends java.lang.Object,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends java.lang.Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.eventbus.ext.application.PayloadBusEvent
PayloadBusEvent.PayloadEventBuilder<P>
-
-
Constructor Summary
Constructors Constructor Description PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.String aChannel, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.String aChannel, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, ApplicationBus aSource)
Constructs an event with the given Meta-Data.PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.PayloadBusEventImpl(P aPayload, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventImpl(P aPayload, java.lang.String aChannel, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.PayloadBusEventImpl(P aPayload, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.PayloadBusEventImpl(P aPayload, java.lang.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.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.
-
-
-
Constructor Detail
-
PayloadBusEventImpl
public PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.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(java.lang.Enum<?> aAction, P aPayload, java.lang.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(java.lang.Enum<?> aAction, P aPayload, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.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-ID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventImpl
public PayloadBusEventImpl(java.lang.Enum<?> aAction, P aPayload, java.lang.String aChannel, java.lang.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(java.lang.Enum<?> aAction, P aPayload, org.refcodes.observer.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(java.lang.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, java.lang.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, java.lang.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, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.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-ID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventImpl
public PayloadBusEventImpl(P aPayload, org.refcodes.observer.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, java.lang.String aChannel, java.lang.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 theEventMetaData
.aPublisherType
- The name for theEventMetaData
.aSource
- The according source (origin).
-
-