public interface TransactionAwareEvent
AbstractEvents returning the same getId() will only be published once at the end of a
transaction if publishOnCommitOnly() returns true.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getId()
Returns a unique id.
|
boolean |
publishOnCommitOnly()
Decide whether this event should be broadcasted/received delayed on commit or directly this is useful if you want to publish
custom event depending on the success of a running transaction if no transaction is running, the event is being sent
immediately.
|
boolean publishOnCommitOnly()
java.lang.Object getId()
Copyright © 2018 SAP SE. All Rights Reserved.