Link Details

Link 950809 thumbnail
User 465020 avatar

By jdb197
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
  • 1552
  • 993

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java