Announcement Announcement Module
Collapse

JavaConfig forum decommissioned in favor of Core Container

As described at

http://static.springsource.org/sprin...fig/README.TXT

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:

http://static.springsource.org/sprin...tml#beans-java

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at

http://forum.springsource.org/forumdisplay.php?f=26
See more
See less
@ExternalValue resolved from Servlet Context Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @ExternalValue resolved from Servlet Context

    Hi
    I was going to raise this as a comment on the JIRA http://jira.springframework.org/browse/SJC-170 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?

    Regards
    Marc

  • #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.

    Comment


    • #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
      Marc

      Comment

      Working...
      X