Uses of Interface
org.springframework.modulith.events.core.EventPublication
Packages that use 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
Classes in org.springframework.modulith.events.core that implement EventPublicationMethods in org.springframework.modulith.events.core that return EventPublicationModifier 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.Methods in org.springframework.modulith.events.core that return types with arguments of type EventPublicationModifier 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.Methods in org.springframework.modulith.events.core with parameters of type EventPublicationModifier 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
Methods in org.springframework.modulith.events.jdbc that return EventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(EventPublication publication) Methods in org.springframework.modulith.events.jdbc that return types with arguments of type EventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.findIncompletePublications()
JdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Methods in org.springframework.modulith.events.jdbc with parameters of type EventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(EventPublication publication) -
Uses of EventPublication in org.springframework.modulith.events.jpa
Methods in org.springframework.modulith.events.jpa that return EventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(EventPublication publication) Methods in org.springframework.modulith.events.jpa that return types with arguments of type EventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.findIncompletePublications()
JpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Methods in org.springframework.modulith.events.jpa with parameters of type EventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(EventPublication publication) -
Uses of EventPublication in org.springframework.modulith.events.mongodb
Methods in org.springframework.modulith.events.mongodb that return EventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(EventPublication publication) Methods in org.springframework.modulith.events.mongodb that return types with arguments of type EventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.findIncompletePublications()
MongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Methods in org.springframework.modulith.events.mongodb with parameters of type EventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(EventPublication publication)