Link Details

Link 950809 thumbnail
User 465020 avatar

By jdb197
via blog.jamesdbloom.com
Published: Apr 08 2013 / 09:38

PropertySource and Environment was added to Spring 3.1, these classes simplify working with properties. In Spring 3.2 MockEnvironment and MockPropertySource were also added making it much easier to mock properties in tests. As the existing approach was not removed (just slightly updated) there are now several ways to use and configure the use of properties in Spring. This article to explain the different options.
  • 14
  • 0
  • 1159
  • 946

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Spring Integration
Written by: Soby Chacko
Featured Refcardz: Top Refcardz:
  1. Search Patterns
  2. Python
  3. C++
  4. Design Patterns
  5. OO JS
  1. PhoneGap
  2. Spring Integration
  3. Regex
  4. Git
  5. Java