public class CdiComponentProcessor extends AnnotationBasedComponentModelProcessor
ModelElementProcessor
which converts the given Mapper
object into an application-scoped CDI bean in case CDI is configured as the
target component model for this mapper.ModelElementProcessor.ProcessorContext
Constructor and Description |
---|
CdiComponentProcessor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
additionalPublicEmptyConstructor() |
protected String |
getComponentModelIdentifier() |
protected List<Annotation> |
getMapperReferenceAnnotations() |
protected List<Annotation> |
getTypeAnnotations(Mapper mapper) |
protected boolean |
requiresGenerationOfDecoratorClass() |
adjustDecorator, getDecoratorAnnotations, getDelegatorReferenceAnnotations, getPriority, getTypeFactory, process, replacementMapperReference
protected String getComponentModelIdentifier()
getComponentModelIdentifier
in class AnnotationBasedComponentModelProcessor
protected List<Annotation> getTypeAnnotations(Mapper mapper)
getTypeAnnotations
in class AnnotationBasedComponentModelProcessor
mapper
- the mapperprotected List<Annotation> getMapperReferenceAnnotations()
getMapperReferenceAnnotations
in class AnnotationBasedComponentModelProcessor
protected boolean requiresGenerationOfDecoratorClass()
requiresGenerationOfDecoratorClass
in class AnnotationBasedComponentModelProcessor
protected boolean additionalPublicEmptyConstructor()
additionalPublicEmptyConstructor
in class AnnotationBasedComponentModelProcessor
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.