|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
|
* Copyright 2002-2025 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -52,7 +52,7 @@ public interface ApplicationEventPublisher {
@@ -52,7 +52,7 @@ public interface ApplicationEventPublisher {
|
|
|
|
|
* instance itself. |
|
|
|
|
* <p>For the convenient inclusion of the current transaction context |
|
|
|
|
* in a reactive hand-off, consider using |
|
|
|
|
* {@link org.springframework.transaction.reactive.TransactionalEventPublisher#publishEvent(Function)}. |
|
|
|
|
* {@link org.springframework.transaction.reactive.TransactionalEventPublisher#publishEvent(java.util.function.Function)}. |
|
|
|
|
* For thread-bound transactions, this is not necessary since the |
|
|
|
|
* state will be implicitly available through thread-local storage. |
|
|
|
|
* @param event the event to publish |
|
|
|
|
|