Class CorsExtensionProvider
java.lang.Object
io.helidon.declarative.codegen.cors.CorsExtensionProvider
- All Implemented Interfaces:
CodegenProvider,RegistryCodegenExtensionProvider
Java
ServiceLoader provider implementation for
RegistryCodegenExtensionProvider that generates required
services to handle declarative CORS.-
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.codegen.spi.CodegenProvider
supportedAnnotationPackages, supportedOptions
-
Constructor Details
-
CorsExtensionProvider
Deprecated.required by JavaServiceLoaderDefault constructor.
-
-
Method Details
-
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
-
ServiceLoader