Announcement Announcement Module

JavaConfig forum decommissioned in favor of Core Container

As described at

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at
See more
See less
@ExternalValue resolved from Servlet Context Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • @ExternalValue resolved from Servlet Context

    I was going to raise this as a comment on the JIRA but do not have the correct group permissions.

    Will an implementation of AbstractValueSourceHandler be available as per ServletContextPropertyPlaceholderConfigurer to enable the override of property values at the Servlet Context level?


  • #2
    Hi Marc,

    No, this will not be made available. Core JavaConfig functionality is moving into the Spring 3.0 codebase right now, and the ValueSource-related artifacts won't be making the move. Rather, value injection will be done using Spring 3's new @Value annotation combined with Spring EL expressions.

    More on that to come, but feel free to stay tuned to the 3.0 commits if you want to see what's latest and greatest on that front.

    Bottom line, you'll be able to inject and override values quite flexibly. 3.0M3 is just around the corner, and it will include the initial cut of @Configuration and @Bean support.


    • #3
      Thanks for the reply (why aren't all forums like Spring forums!).
      Use of EL and the new @Value annotation would appear to make great sense.
      I'll look at the milestone when released.

      Many Thanks