Package org.apache.tapestry5.ioc.annotations

# Annotation Type UsesMappedConfiguration

@Target(TYPE) @Retention(CLASS) @Documented @UseWith(SERVICE) public @interface UsesMappedConfiguration
A documentation-only interface placed on service interfaces for services which have a mapped configuration, to identify the type of key (often, a String), and type of contribution. Remember that when the key type is String, the map will be case-insensitive.

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `Class`
  `value`
  The type of object which may be contributed into the service's configuration.

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `Class`
  `key`
  The type of key used to identify contribution values.

- ## Element Details

  - ### value

    Class value
    The type of object which may be contributed into the service's configuration.

- - ### key

    Class key
    The type of key used to identify contribution values.
    Default:
      java.lang.String.class