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
      java.lang.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
      java.lang.Class key
      The type of key used to identify contribution values.
    • Element Detail

      • value

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

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