Class ConditionalOnBeanAnnotationMapper

java.lang.Object
io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
io.micronaut.spring.boot.annotation.ConditionalOnBeanAnnotationMapper
All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.inject.annotation.AnnotationMapper<Annotation>, io.micronaut.inject.annotation.NamedAnnotationMapper
Direct Known Subclasses:
ConditionalOnClassAnnotationMapper, ConditionalOnMissingBeanAnnotationMapper

public class ConditionalOnBeanAnnotationMapper extends AbstractSpringAnnotationMapper
Maps ConditionalOnBean to Micronaut Requires.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • ConditionalOnBeanAnnotationMapper

      public ConditionalOnBeanAnnotationMapper()
  • Method Details

    • getName

      public String getName()
    • mapInternal

      protected List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal(io.micronaut.core.annotation.AnnotationValue<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
    • typesMemberName

      @NonNull protected @NonNull String typesMemberName()
      The annotation member name that specifies the types.
      Returns:
      The name
    • requiresMethodName

      @NonNull protected @NonNull String requiresMethodName()
      The annotation member name for requires.
      Returns:
      The member name