Make @Interceptor @Inherited so InterceptorService.determineOrder accepts Spring proxies of @Interceptor annotated classes. (#1853)

See https://groups.google.com/forum/#!topic/hapi-fhir/7Z_FKDBTJSE
This commit is contained in:
Tue Toft Nørgård 2020-05-20 16:52:56 +02:00 committed by GitHub
parent c9c90b327c
commit 2f48c7d7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ package ca.uhn.fhir.interceptor.api;
*/ */
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
@ -30,6 +31,7 @@ import java.lang.annotation.Target;
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Inherited
public @interface Interceptor { public @interface Interceptor {
/** /**