Annotation Interface InterceptorBean


@Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE,METHOD}) @Bean @DefaultScope(jakarta.inject.Singleton.class) public @interface InterceptorBean
A meta-annotation that can be used on MethodInterceptor declarations to specify the InterceptorBinding and make the type a bean.
Since:
2.4.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Annotation>[]
    The value of this annotation can be used to indicate the annotations the MethodInterceptor binds to at runtime.
  • Element Details

    • value

      Class<? extends Annotation>[] value
      The value of this annotation can be used to indicate the annotations the MethodInterceptor binds to at runtime.
      Returns:
      The annotation type the interceptor binds to.