- All Superinterfaces:
AliasAccessor
,ChannelAccessor
,GroupAccessor
,UniversalIdAccessor
- All Known Subinterfaces:
EventMetaData.EventMetaDataBuilder
- All Known Implementing Classes:
EventMetaDataBuilderImpl
,EventMetaDataImpl
public interface EventMetaData
extends UniversalIdAccessor, AliasAccessor, GroupAccessor, ChannelAccessor
The Meta-Data describes the event which a publisher posts via the event bus
to an event subscriber's event listener. The Meta-Data is the criteria most
commonly used by an event matcher in order to identify an loosely coupled
event.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
AliasAccessor.AliasBuilder<B extends AliasAccessor.AliasBuilder<B>>, AliasAccessor.AliasMutator, AliasAccessor.AliasProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChannelAccessor
ChannelAccessor.ChannelBuilder<B extends ChannelAccessor.ChannelBuilder<B>>, ChannelAccessor.ChannelMutator, ChannelAccessor.ChannelProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.GroupAccessor
GroupAccessor.GroupBuilder<B extends GroupAccessor.GroupBuilder<B>>, GroupAccessor.GroupMutator, GroupAccessor.GroupProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.UniversalIdAccessor
UniversalIdAccessor.UniversalIdBuilder<B extends UniversalIdAccessor.UniversalIdBuilder<B>>, UniversalIdAccessor.UniversalIdMutator, UniversalIdAccessor.UniversalIdProperty
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
The least common denominator in event Meta-Data is the type of the publisher which gives a hint on the source of the event.Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAlias
Methods inherited from interface org.refcodes.mixin.ChannelAccessor
getChannel
Methods inherited from interface org.refcodes.mixin.GroupAccessor
getGroup
Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor
getUniversalId
-
Method Details
-
getPublisherType
Class<?> getPublisherType()The least common denominator in event Meta-Data is the type of the publisher which gives a hint on the source of the event.- Returns:
- The type of the publisher who published the event.
-