fixing the crypto factory beans

Cantor, Scott cantor.2 at osu.edu
Fri May 30 11:44:01 EDT 2014


On 5/30/14, 11:14 AM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>
>Personally I would have made Spring treat bare paths as files, but it's
>not surprising that it doesn't. Too bad they don't let you control that
>somehow.

This bring Spring, they do, of course. If we built the service
ApplicationContexts as FileSystemXmlApplicationContexts instead of
GenericApplicationContexts, the ResourceLoader in the context would treat
unprefixed paths as file paths, not classpaths.

I'm not sure what the trade off would be for that, or why we're using
Generic now, apart from that we did it that way in V2.

We could possibly also inject our own ResourceLoader as well, I guess.

-- Scott




More information about the dev mailing list