Class PrePersistAnnotationMapper

java.lang.Object
io.micronaut.data.processor.mappers.jpa.jx.event.PrePersistAnnotationMapper
All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.inject.annotation.AnnotationMapper<Annotation>, io.micronaut.inject.annotation.NamedAnnotationMapper
Direct Known Subclasses:
PrePersistAnnotationMapper

public class PrePersistAnnotationMapper extends Object implements io.micronaut.inject.annotation.NamedAnnotationMapper
Maps JPA's PrePersist annotation to Micronaut's.
Since:
2.3.0
Author:
Denis Stepanov
  • Constructor Details

    • PrePersistAnnotationMapper

      public PrePersistAnnotationMapper()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • map

      public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      map in interface io.micronaut.inject.annotation.AnnotationMapper<Annotation>