Annotation Type 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
      java.lang.Class<? extends java.lang.annotation.Annotation>[] value
      The value of this annotation can be used to indicate the annotations the MethodInterceptor binds to at runtime.
    • Element Detail

      • value

        java.lang.Class<? extends java.lang.annotation.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.