Package org.springframework.data.domain
Interface ReactiveAuditorAware<T>
- Type Parameters:
T
- the type of the auditing instance.
public interface ReactiveAuditorAware<T>
Interface for components that are aware of the application's current auditor. This will be some kind of user mostly.
- Since:
- 2.4
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<T>
Returns aMono
publishing the current auditor of the application.
-
Method Details
-
getCurrentAuditor
reactor.core.publisher.Mono<T> getCurrentAuditor()Returns aMono
publishing the current auditor of the application.- Returns:
- the
Mono
emitting the current auditor, or an empty one, if the auditor is considered to be unknown.
-