Annotation Interface EnableMicronaut.ExposedBean

Enclosing class:
EnableMicronaut

public static @interface EnableMicronaut.ExposedBean
Used to allow to expose beans from the Spring to the Micronaut context.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Element Details

    • beanType

      Class<?> beanType
      Returns:
      The bean type.
    • name

      String name
      Returns:
      The name of the bean in the Spring context otherwise all beans of the type are searched.
      Default:
      ""
    • qualifier

      String qualifier
      Returns:
      The qualifier to use for the Micronaut bean that is registered, defaults to the Spring Bean name.
      Default:
      ""