public class PersistenceContextAnnotationMapper extends Object implements AnnotationMapper<PersistenceContext>
PersistenceContext
annotation in Micronaut.Constructor and Description |
---|
PersistenceContextAnnotationMapper() |
Modifier and Type | Method and Description |
---|---|
Class<PersistenceContext> |
annotationType()
The annotation type to be mapped.
|
List<AnnotationValue<?>> |
map(AnnotationValue<PersistenceContext> annotation)
The map method will be called for each instances of the annotation returned via the
AnnotationMapper.annotationType() method. |
public Class<PersistenceContext> annotationType()
AnnotationMapper
annotationType
in interface AnnotationMapper<PersistenceContext>
public List<AnnotationValue<?>> map(AnnotationValue<PersistenceContext> annotation)
AnnotationMapper
AnnotationMapper.annotationType()
method.map
in interface AnnotationMapper<PersistenceContext>
annotation
- The annotation values