org.apache.tamaya.inject

## Annotation Type ConfiguredType

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public @interface ConfiguredType

  Annotation to control injection and resolution current a configured bean. The configuration keys to be resolved are basically determined by the `ConfiguredProperty` annotation(s). Nevertheless these annotations can also have relative key names. This annotation allows to define a configuration area that is prefixed to all relative configuration keys within the corresponding class/template interface.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `autoConfigure` Property that can be used to let Tamaya automatically configure all matching fields and setter methods.
    `String[]` | `defaultSections` Allows to declare an section names that are prepended to resolve relative configuration keys.

- - ### Element Detail

    - #### defaultSections

          public abstract String[] defaultSections

      Allows to declare an section names that are prepended to resolve relative configuration keys.
      Returns:
        the section names to used for key resolution.
      Default:
        {}

  - - #### autoConfigure

          public abstract boolean autoConfigure

      Property that can be used to let Tamaya automatically configure all matching fields and setter methods. By default the configuration keys are built using the field's or method's name.
      Returns:
        true, for letting Tamaya utomatically configure a type.
      Default:
        false

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