org.apache.tamaya.inject

## Annotation Type DefaultValue

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

  Annotation to define a default keys to be returned, when no configured keys could be determined for a property/template accessor. The keys hereby can also contain a dynamic expression that is evaluated by the configuration system.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `value` The default keys to be injected, if no such configuration entry was found.

- - ### Element Detail

    - #### value

          public abstract String value

      The default keys to be injected, if no such configuration entry was found. If keys was found and no default is defined, it is handled as a deployment error.
      Default:
        ""

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