ApplicationEvent
, MessageBusEvent
, org.refcodes.eventbus.GenericBusEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
, org.refcodes.mixin.ActionAccessor<Enum<?>>
, org.refcodes.mixin.MessageAccessor
, org.refcodes.mixin.MetaDataAccessor<org.refcodes.observer.EventMetaData>
, org.refcodes.mixin.SourceAccessor<ApplicationBus>
, org.refcodes.observer.GenericActionEvent<Enum<?>,ApplicationBus>
, org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
, org.refcodes.observer.GenericEvent<ApplicationBus>
, org.refcodes.observer.GenericMetaDataEvent<org.refcodes.observer.EventMetaData,ApplicationBus>
public class MessageBusEventImpl extends ApplicationEventImpl implements MessageBusEvent
MessageBusEvent
.org.refcodes.observer.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.observer.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
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>
ApplicationEvent.ApplicationEventBuilder
org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.observer.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
org.refcodes.eventbus.GenericBusEvent.GenericBusEventBuilder<A extends Object,META extends org.refcodes.observer.EventMetaData,SRC extends org.refcodes.eventbus.GenericEventBus<?,?,?,?,?>,B extends org.refcodes.eventbus.GenericBusEvent.GenericBusEventBuilder<A,META,SRC,B>>
org.refcodes.mixin.MessageAccessor.MessageMutator, org.refcodes.mixin.MessageAccessor.MessageProperty
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>
Constructor | Description |
---|---|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with predefined values for the according properties
retrieved from the caller's class.
|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
String aChannel,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with the given values for the according properties.
|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with the given values for the according properties.
|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
String aChannel,
ApplicationBus aSource) |
Constructs an event with predefined values for the according properties
retrieved from the caller's class.
|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
ApplicationBus aSource) |
Constructs an event with the given Meta-Data.
|
MessageBusEventImpl(Enum<?> aAction,
String aMessage,
org.refcodes.observer.EventMetaData aEventMetaData,
ApplicationBus aSource) |
Constructs an event with the given Meta-Data.
|
MessageBusEventImpl(String aMessage,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with predefined values for the according properties
retrieved from the caller's class.
|
MessageBusEventImpl(String aMessage,
String aChannel,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with the given values for the according properties.
|
MessageBusEventImpl(String aMessage,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
ApplicationBus aSource) |
Constructs an event with the given values for the according properties.
|
MessageBusEventImpl(String aMessage,
String aChannel,
ApplicationBus aSource) |
Constructs an event with predefined values for the according properties
retrieved from the caller's class.
|
MessageBusEventImpl(String aMessage,
ApplicationBus aSource) |
Constructs an event with the given Meta-Data.
|
MessageBusEventImpl(String aMessage,
org.refcodes.observer.EventMetaData aEventMetaData,
ApplicationBus aSource) |
Constructs an event with the given Meta-Data.
|
public MessageBusEventImpl(String aMessage, Class<?> aPublisherType, ApplicationBus aSource)
aMessage
- The message to carry.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.public MessageBusEventImpl(Enum<?> aAction, String aMessage, Class<?> aPublisherType, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message to carry.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.public MessageBusEventImpl(Enum<?> aAction, String aMessage, org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message to carry.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.public MessageBusEventImpl(Enum<?> aAction, String aMessage, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message to carry.aSource
- The source from which this event originated.public MessageBusEventImpl(Enum<?> aAction, String aMessage, String aChannel, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message to carry.aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.public MessageBusEventImpl(Enum<?> aAction, String aMessage, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message 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.public MessageBusEventImpl(String aMessage, org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
aMessage
- The message to carry.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.public MessageBusEventImpl(String aMessage, ApplicationBus aSource)
aMessage
- The message to carry.aSource
- The source from which this event originated.public MessageBusEventImpl(String aMessage, String aChannel, ApplicationBus aSource)
aMessage
- The message to carry.aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.public MessageBusEventImpl(String aMessage, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
aMessage
- The message 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.public MessageBusEventImpl(String aMessage, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
aMessage
- The message to carry.aChannel
- The channel for the EventMetaData
.aPublisherType
- The name for the EventMetaData
.aSource
- The according source (origin).public MessageBusEventImpl(Enum<?> aAction, String aMessage, String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
aAction
- The action which this represents.aMessage
- The message to carry.aChannel
- The channel property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.public String getMessage()
getMessage
in interface org.refcodes.mixin.MessageAccessor
public String toString()
toString
in class org.refcodes.observer.AbstractActionMetaDataEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
Copyright © 2018. All rights reserved.