Class DependentTransformer
java.lang.Object
io.helidon.integrations.micronaut.cdi.processor.DependentTransformer
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationTransformer<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationTransformer
public class DependentTransformer
extends Object
implements io.micronaut.inject.annotation.NamedAnnotationTransformer
Transforms CDI Dependent annotation into Micronaut RequestScope (as the integration module does not
use this bean from Micronaut, the scope is not relevant, we only use it to get ExecutableMethod metadata).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
List<io.micronaut.core.annotation.AnnotationValue<?>>
transform
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
DependentTransformer
public DependentTransformer()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
transform
public List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
transform
in interfaceio.micronaut.inject.annotation.AnnotationTransformer<Annotation>
-