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:
parent
c9c90b327c
commit
2f48c7d7fe
|
@ -21,6 +21,7 @@ package ca.uhn.fhir.interceptor.api;
|
|||
*/
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
@ -30,6 +31,7 @@ import java.lang.annotation.Target;
|
|||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
@Inherited
|
||||
public @interface Interceptor {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue