Created
September 30, 2014 12:54
-
-
Save luisffc/2ca19f540a515f9b17f4 to your computer and use it in GitHub Desktop.
Property with id inside Spring XML context file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<util:properties id="webProperties" location="classpath:life-web.properties"/> | |
<bean name="..." class="..."> | |
<constructor-arg value="#{webProperties['email.smtp']}"/> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment