Class EventObserverExtensionProvider
java.lang.Object
io.helidon.service.codegen.EventObserverExtensionProvider
- All Implemented Interfaces:
CodegenProvider, RegistryCodegenExtensionProvider
public class EventObserverExtensionProvider
extends Object
implements RegistryCodegenExtensionProvider
ServiceLoader provider implementation that adds support for generating event observer registrations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(RegistryCodegenContext codegenContext) Create a new extension based on the context.Annotations that are supported.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CodegenProvider
supportedAnnotationPackages, supportedMetaAnnotations, supportedOptionsModifier and TypeMethodDescriptionSupported packages of annotations.Inherited annotations that are supported.Configuration options that are supported.Methods inherited from interface RegistryCodegenExtensionProvider
supportsFactoryProvidedServiceContractAnnotations, supportsServiceContractAnnotationsModifier and TypeMethodDescriptiondefault booleanWhether this extension should also process factory services whose provided service contracts contain annotations supported by this extension.default booleanWhether this extension should also process services whose service contracts contain annotations supported by this extension.
-
Constructor Details
-
EventObserverExtensionProvider
public EventObserverExtensionProvider()Required public constructor forServiceLoader.
-
-
Method Details
-
create
Description copied from interface:RegistryCodegenExtensionProviderCreate a new extension based on the context.- Specified by:
createin interfaceRegistryCodegenExtensionProvider- Parameters:
codegenContext- injection code generation context- Returns:
- a new extension
-
supportedAnnotations
Description copied from interface:CodegenProviderAnnotations that are supported.- Specified by:
supportedAnnotationsin interfaceCodegenProvider- Returns:
- set of annotation types
- See Also:
-