Annotation Interface Service.NamedByType

Enclosing class:
Service

@Qualifier @Documented @Retention(CLASS) public static @interface Service.NamedByType
This annotation is effectively the same as Service.Named where the Service.Named.value() is a Class name instead of a String. The name that would be used is the fully qualified name of the type.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The class used will function as the name.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TypeName
    Type name of this interface.
  • Field Details

    • TYPE

      static final TypeName TYPE
      Type name of this interface. TypeName is used in Helidon Inject APIs.
  • Element Details

    • value

      Class<?> value
      The class used will function as the name.
      Returns:
      the class