Annotation Type UseExtensionHandlerCustomizer
-
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) @Alpha public @interface UseExtensionHandlerCustomizer
Meta-Annotation used to identify extension method decorating annotations. Use this to annotate an annotation.- Since:
- 3.38.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends ExtensionHandlerCustomizer>valueExtensionHandlerCustomizerclass that decoratesExtensionHandlerinstances for methods annotated with the associated annotation.
-
-
-
Element Detail
-
value
java.lang.Class<? extends ExtensionHandlerCustomizer> value
ExtensionHandlerCustomizerclass that decoratesExtensionHandlerinstances for methods annotated with the associated annotation.
The extension customizer must have either a public no-arguments, a(Method method), or a(Class<?> extensionType, Method method)constructor. If the constructor takes one or more arguments, it will get the extension type and the invoked method passed in at construction time.- Returns:
- the
ExtensionHandlerCustomizerclass
-
-