@Internal public final class PersistenceContextAnnotationMapper extends Object implements NamedAnnotationMapper
PersistenceContext annotation in Micronaut.| Constructor and Description |
|---|
PersistenceContextAnnotationMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
List<AnnotationValue<?>> |
map(AnnotationValue<Annotation> annotation,
VisitorContext visitorContext)
The map method will be called for each instances of the annotation returned via this method.
|
public String getName()
public List<AnnotationValue<?>> map(AnnotationValue<Annotation> annotation, VisitorContext visitorContext)
AnnotationMappermap in interface AnnotationMapper<Annotation>annotation - The annotation valuesvisitorContext - The context that is being visited