org.apache.tamaya.inject.api

## Annotation Type WithConfigOperator

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

  Annotation to define an configuration operator to be used before accessing a configured key. This allows filtering the current configuration, e.g. to realize views or ensure security constraints.

- - ### Required Element Summary

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

- - ### Element Detail

    - #### value

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

      Define a custom adapter 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 transform the configuration entry.

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