DATACMNS-1231 - Introduce dedicated Auditor value object.

Original Pull Request: #458
This commit is contained in:
Christoph Strobl
2020-07-16 12:21:09 +02:00
parent d3af4a79e4
commit d4e94109df
8 changed files with 245 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008-2020 the original author or authors.
* Copyright 2020 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.
@@ -27,9 +27,10 @@ import reactor.core.publisher.Mono;
public interface ReactiveAuditorAware<T> {
/**
* Returns the current auditor of the application.
* Returns a {@link Mono} publishing the current auditor of the application.
*
* @return the current auditor. If the mono does not emit a value, the auditor is considered to be unknown.
* @return the {@link Mono} emitting the current auditor, or an empty one, if the auditor is considered to be unknown.
*/
Mono<T> getCurrentAuditor();
}