Uses of Class
org.springframework.modulith.events.PublicationTargetIdentifier
Package
Description
The event publication registry abstraction.
JDBC integration for
EventPublicationRepository
.JPA integration for
EventPublicationRepository
.MongoDB integration for
EventPublicationRepository
.-
Uses of PublicationTargetIdentifier in org.springframework.modulith.events
Modifier and TypeMethodDescriptionDefaultEventPublication.getTargetIdentifier()
EventPublication.getTargetIdentifier()
Returns the identifier of the target that the event is supposed to be published to.static PublicationTargetIdentifier
Returns thePublicationTargetIdentifier
for the given value.Modifier and TypeMethodDescriptionEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Return the incompleteEventPublication
for the given serialized event and listener identifier.default boolean
EventPublication.isIdentifiedBy
(PublicationTargetIdentifier identifier) Returns whether the publication is identified by the givenPublicationTargetIdentifier
.void
DefaultEventPublicationRegistry.markCompleted
(Object event, PublicationTargetIdentifier targetIdentifier) void
EventPublicationRegistry.markCompleted
(Object event, PublicationTargetIdentifier targetIdentifier) Marks the publication for the given event andPublicationTargetIdentifier
as completed.static CompletableEventPublication
CompletableEventPublication.of
(Object event, PublicationTargetIdentifier id) Creates aCompletableEventPublication
for the given event an listener identifier.Modifier and TypeMethodDescriptionvoid
DefaultEventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) void
EventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) StoresEventPublication
s for the given event andApplicationListener
s.ModifierConstructorDescription(package private)
DefaultEventPublication
(Object event, PublicationTargetIdentifier targetIdentifier) Creates a newDefaultEventPublication
for the given event andPublicationTargetIdentifier
. -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.jdbc
Modifier and TypeMethodDescriptionJdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.jpa
Modifier and TypeMethodDescriptionJpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.mongodb
Modifier and TypeMethodDescriptionMongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier)