Annotation Type UseExtensionHandler
Meta-Annotation used to map a method to an extension handler. Use this to annotate an annotation.
- Since:
- 3.38.0
- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionAn extension must declare an id and tag all annotations with it.Class<? extends ExtensionHandler>ExtensionHandlerfactory annotation that creates the extension handler for the decorated method.
- 
Element Details- 
valueClass<? extends ExtensionHandler> valueExtensionHandlerfactory annotation that creates the extension handler for the decorated method.
 The extension handler 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 ExtensionHandlerclass
 
- 
idString idAn extension must declare an id and tag all annotations with it. This allows theExtensionFactoryto decide whether it will process a class or not by looking at the annotations on the class and method and determine whether these have the right id for the extension.- Returns:
- A string with the extension identifier
 
 
-