Package com.onec.events
Interface EntityChangePublisher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Narrow SPI the framework-starter write callbacks use to emit
EntityChangedEvents after a
repository.save(...)/delete(...).
The core module deliberately does not depend on spring-context, so it cannot reference
ApplicationEventPublisher directly (the same pattern as PostEventPublisher).
onec-framework-starter provides the bridge implementation — a lambda over
ApplicationEventPublisher::publishEvent — so application code can simply
@EventListener for EntityChangedEvent.
-
Method Summary
-
Method Details
-
publish
-