org.apache.tamaya.inject.api

## Annotation Type WithPropertyConverter

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

  Annotation to define a type adapter to be used before injecting a configured key, or for applying changes. This will override any other adapter for performing the type conversion before injecting the field keys.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `Class<? extends org.apache.tamaya.spi.PropertyConverter<?>>` | `value` Define a custom adapter or codec that should be used to adapt the configuration entry injected.

- - ### Element Detail

    - #### value

          public abstract Class<? extends org.apache.tamaya.spi.PropertyConverter<?>> value

      Define a custom adapter or codec that should be used to adapt the configuration entry injected. This overrides any general org.apache.tamaya.core.internal registered. If no adapter is defined (default) and no corresponding adapter is registered, it is handled as a deployment error.
      Returns:
        adapter used to change the configuration entry.

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