Annotation Type KnownAs


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    @Documented
    public @interface KnownAs
    Qualifies the exact name of the component parameter for which DI is required.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The exact name of the component to be injected.
    • Element Detail

      • value

        java.lang.String value
        The exact name of the component to be injected.
        Returns:
        Nonnull string of the component name.