org.springframework.test.annotation

Annotation Type ProfileValueSourceConfiguration



  • @Target(value=TYPE)
     @Retention(value=RUNTIME)
     @Documented
     @Inherited
    public @interface ProfileValueSourceConfiguration
    ProfileValueSourceConfiguration is a class-level annotation which is used to specify what type of ProfileValueSource to use when retrieving profile values configured via the @IfProfileValue annotation.

    As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.

    Since:
    2.5
    Author:
    Sam Brannen
    See Also:
    ProfileValueSource, IfProfileValue, ProfileValueUtils
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      java.lang.Class<? extends ProfileValueSource> value
      The type of ProfileValueSource to use when retrieving profile values.