Class ServiceExtensionProvider
java.lang.Object
io.helidon.service.codegen.ServiceExtensionProvider
- All Implemented Interfaces:
CodegenProvider, RegistryCodegenExtensionProvider
A
ServiceLoader provider implementation that adds code generation for Helidon Service Registry.
This extension creates service descriptors.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(RegistryCodegenContext codegenContext) Create a new extension based on the context.Annotations that are supported.Inherited annotations that are supported.Configuration options that are supported.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CodegenProvider
supportedAnnotationPackagesModifier and TypeMethodDescriptionSupported packages of annotations.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
-
ServiceExtensionProvider
public ServiceExtensionProvider()Required public constructor forServiceLoader.
-
-
Method Details
-
supportedOptions
Description copied from interface:CodegenProviderConfiguration options that are supported.- Specified by:
supportedOptionsin interfaceCodegenProvider- Returns:
- set of configuration options
-
supportedAnnotations
Description copied from interface:CodegenProviderAnnotations that are supported.- Specified by:
supportedAnnotationsin interfaceCodegenProvider- Returns:
- set of annotation types
- See Also:
-
supportedMetaAnnotations
Description copied from interface:CodegenProviderInherited annotations that are supported. If an annotation is annotated with this "meta" annotation, it is considered supported.- Specified by:
supportedMetaAnnotationsin interfaceCodegenProvider- Returns:
- set of meta annotation types
- See Also:
-
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
-