Services and reloadable bean definitions

Cantor, Scott cantor.2 at osu.edu
Sat Nov 9 14:29:55 EST 2013


On 11/9/13, 9:31 AM, "Marvin Addison" <marvin.addison at gmail.com> wrote:

>I think it's fair to assume that Spring doesn't support reloading
>parts of an application context primarily because of the difficulty of
>managing behavior on dependent components. I would imagine the
>thinking is that it's safer and simpler to reload the entire
>application context.

I don't think you can reload the application context while still
processing requests through the original, can you? If we can, that might
argue for being less aggressive with it.

>Just thinking out loud: I wonder whether it's possible to segment
>subsystems into separate application contexts that interact via
>message passing or similar; then you could get segmented reloading
>with well supported Spring capabilities.

That would take a pretty large redesign of all the attribute code. And the
configuration layer for profile behavior, though that's not really ported
yet.

-- Scott




More information about the dev mailing list