Class SystemProfileValueSource
java.lang.Object
org.springframework.test.annotation.SystemProfileValueSource
- All Implemented Interfaces:
 ProfileValueSource
Implementation of 
ProfileValueSource which uses system properties as
 the underlying source.- Since:
 - 2.0
 - Author:
 - Rod Johnson, Sam Brannen
 
- 
Method Summary
Modifier and TypeMethodDescriptionGet the profile value indicated by the specified key from the system properties.static SystemProfileValueSourceObtain the canonical instance of this ProfileValueSource. 
- 
Method Details
- 
getInstance
Obtain the canonical instance of this ProfileValueSource. - 
get
Get the profile value indicated by the specified key from the system properties.- Specified by:
 getin interfaceProfileValueSource- Parameters:
 key- the name of the profile value- Returns:
 - the String value of the profile value, or 
nullif there is no profile value with that key - See Also:
 
 
 -