Uses of Interface
org.springframework.modulith.events.core.EventPublication
Package
Description
The event publication registry abstraction.
JDBC integration for
EventPublicationRepository
.JPA integration for
EventPublicationRepository
.MongoDB integration for
EventPublicationRepository
.-
Uses of EventPublication in org.springframework.modulith.events.core
Modifier and TypeMethodDescriptionEventPublicationRepository.create
(EventPublication publication) Persists the givenEventPublication
.static EventPublication
EventPublication.of
(Object event, PublicationTargetIdentifier id) Creates aEventPublication
for the given event an listener identifier using a defaultInstant
.static EventPublication
EventPublication.of
(Object event, PublicationTargetIdentifier id, Instant publicationDate) Creates aEventPublication
for the given event an listener identifier and publication date.Modifier and TypeMethodDescriptionDefaultEventPublicationRegistry.findIncompletePublications()
EventPublicationRegistry.findIncompletePublications()
Returns allEventPublication
s that have not been completed yet.EventPublicationRepository.findIncompletePublications()
Returns allEventPublication
that have not been completed yet.EventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Return the incompleteEventPublication
for the given serialized event and listener identifier.DefaultEventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) EventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) StoresEventPublication
s for the given event andApplicationListener
s.Modifier and TypeMethodDescriptiondefault int
EventPublication.compareTo
(EventPublication that) EventPublicationRepository.create
(EventPublication publication) Persists the givenEventPublication
.default void
EventPublicationRepository.markCompleted
(EventPublication publication, Instant completionDate) Marks the givenEventPublication
as completed. -
Uses of EventPublication in org.springframework.modulith.events.jdbc
Modifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(EventPublication publication) Modifier and TypeMethodDescriptionJdbcEventPublicationRepository.findIncompletePublications()
JdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Modifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(EventPublication publication) -
Uses of EventPublication in org.springframework.modulith.events.jpa
Modifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(EventPublication publication) Modifier and TypeMethodDescriptionJpaEventPublicationRepository.findIncompletePublications()
JpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Modifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(EventPublication publication) -
Uses of EventPublication in org.springframework.modulith.events.mongodb
Modifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(EventPublication publication) Modifier and TypeMethodDescriptionMongoDbEventPublicationRepository.findIncompletePublications()
MongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Modifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(EventPublication publication)