Class ProfileAnnotationMapper

  • All Implemented Interfaces:
    io.micronaut.core.naming.Named, io.micronaut.inject.annotation.AnnotationMapper<java.lang.annotation.Annotation>, io.micronaut.inject.annotation.NamedAnnotationMapper

    public class ProfileAnnotationMapper
    extends AbstractSpringAnnotationMapper
    Maps the Spring Profile annotation to Requires.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      protected java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal​(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Internal map implemenation that subclasses should implement.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProfileAnnotationMapper

        public ProfileAnnotationMapper()
    • Method Detail

      • mapInternal

        protected java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal​(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation,
                                                                                              io.micronaut.inject.visitor.VisitorContext visitorContext)
        Description copied from class: AbstractSpringAnnotationMapper
        Internal map implemenation that subclasses should implement.
        Specified by:
        mapInternal in class AbstractSpringAnnotationMapper
        Parameters:
        annotation - The annotation
        visitorContext - The visitor context
        Returns:
        A list of annotations
      • getName

        public java.lang.String getName()