Uses of Class
org.springframework.modulith.events.PublicationTargetIdentifier
Packages that use 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
Methods in org.springframework.modulith.events that return PublicationTargetIdentifierModifier and TypeMethodDescriptionDefaultEventPublication.getTargetIdentifier()EventPublication.getTargetIdentifier()Returns the identifier of the target that the event is supposed to be published to.static PublicationTargetIdentifierReturns thePublicationTargetIdentifierfor the given value.Methods in org.springframework.modulith.events with parameters of type PublicationTargetIdentifierModifier and TypeMethodDescriptionEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier(Object event, PublicationTargetIdentifier targetIdentifier) Return the incompleteEventPublicationfor the given serialized event and listener identifier.default booleanEventPublication.isIdentifiedBy(PublicationTargetIdentifier identifier) Returns whether the publication is identified by the givenPublicationTargetIdentifier.voidDefaultEventPublicationRegistry.markCompleted(Object event, PublicationTargetIdentifier targetIdentifier) voidEventPublicationRegistry.markCompleted(Object event, PublicationTargetIdentifier targetIdentifier) Marks the publication for the given event andPublicationTargetIdentifieras completed.static CompletableEventPublicationCompletableEventPublication.of(Object event, PublicationTargetIdentifier id) Creates aCompletableEventPublicationfor the given event an listener identifier.Method parameters in org.springframework.modulith.events with type arguments of type PublicationTargetIdentifierModifier and TypeMethodDescriptionvoidDefaultEventPublicationRegistry.store(Object event, Stream<PublicationTargetIdentifier> listeners) voidEventPublicationRegistry.store(Object event, Stream<PublicationTargetIdentifier> listeners) StoresEventPublications for the given event andApplicationListeners.Constructors in org.springframework.modulith.events with parameters of type PublicationTargetIdentifierModifierConstructorDescription(package private)DefaultEventPublication(Object event, PublicationTargetIdentifier targetIdentifier) Creates a newDefaultEventPublicationfor the given event andPublicationTargetIdentifier. -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.jdbc
Methods in org.springframework.modulith.events.jdbc with parameters of type PublicationTargetIdentifierModifier and TypeMethodDescriptionJdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier(Object event, PublicationTargetIdentifier targetIdentifier) -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.jpa
Methods in org.springframework.modulith.events.jpa with parameters of type PublicationTargetIdentifierModifier and TypeMethodDescriptionJpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier(Object event, PublicationTargetIdentifier targetIdentifier) -
Uses of PublicationTargetIdentifier in org.springframework.modulith.events.mongodb
Methods in org.springframework.modulith.events.mongodb with parameters of type PublicationTargetIdentifierModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier(Object event, PublicationTargetIdentifier targetIdentifier)