Spring PropertySource and Environment

Tom Zeller tzeller at dragonacea.biz
Tue May 20 12:34:32 EDT 2014


> To just do some global properties, we should just need the 1
> initializer declared for the root web app context.
>
> I mentioned on the Friday call, but I did test this in a scratch workspace
> with some manually created generic contexts, and the properties were
> inherited as expected, based on having looked at their code.

Just confirming that this works as discussed, at least in my messy
local workspace, where "thjs" is a root web
ApplicationContextInitializer which configures idp.properties as a
property source, as well as removing the location from
<context:property-placeholder /> in the Spring wiring.


More information about the dev mailing list