Resources.
Cantor, Scott
cantor.2 at osu.edu
Sun Nov 10 14:16:07 EST 2013
On 11/10/13, 7:52 AM, "Rod Widdowson" <rdw at steadingsoftware.com> wrote:
>
>The somewhat surprising result is that we do *not* need a bean factory to
>achieve this, maybe it is because I was just looking at string
>parameters.
>
>What I have not looked at is how to inject the property-placeholder
>programmatically. The spring injection as per
>http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-
>re
>solver-spring/src/test/resources/net/shibboleth/idp/attribute/resolver/spr
>in
>g/naturestudy/CustomBeanReplace.xml?view=markup
>
>is a wee bit ugly.
My experimenting suggests that the property placeholder gets inherited to
some degree across files within an ApplicationContext, but not 100% of the
time, and I didn't exactly figure out what the rules were.
But that probably wouldn't help because most of the custom files will
probably be in their own context, I imagine.
-- Scott
More information about the dev
mailing list