org.apache.tamaya.inject.api

## Annotation Type Config

-     @Qualifier
      @Retention(value=RUNTIME)
      @Target(value={FIELD,METHOD,PARAMETER})
      public @interface Config

  todo The author of this should fix this invalid Javadoc. Oliver B. Fischer, 2015-12-27

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `defaultValue` The default value to be injected, if none of the configuration keys could be resolved.
    `String[]` | `value` Get the property names to be used.

- - ### Element Detail

    - #### value

          public abstract String[] value

      Get the property names to be used. Hereby the first non null keys evaluated is injected as property keys.
      Returns:
        the property names, not null. If missing the field or method name being injected is used by default.
      Default:
        {}

    - #### defaultValue

          public abstract String defaultValue

      The default value to be injected, if none of the configuration keys could be resolved. If no key has been resolved and no default value is defined, it is handled as a deployment error. Depending on the extension loaded default values can be fixed Strings or even themselves resolvable. For typed configuration of type T entries that are not Strings the default value must be a valid input to the corresponding `PropertyConverter`.
      Returns:
        default value used in case resolution fails.
      Default:
        ""

Copyright © 2014–2016 Apache Software Foundation. All rights reserved.