Spring IoC, WebFlow and scopes

Cantor, Scott cantor.2 at osu.edu
Tue Jun 25 12:08:31 EDT 2013


On 6/24/13 9:16 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:

>The fact that there doesn't appear to be any guaranteed destruction
>callback ordering for non-singleton beans is potentially concerning.

This is becase Spring doesn't support destruction callbacks for
non-singletons at all, I think.

My assumption is that the various plugins in the system in the resolver
and filter are going to be singletons, but of course we decided other
things wouldn't be.

>More concerning though: it appears WebFlow does not support destruction
>callbacks for beans registered in its custom scopes, period.

I think that's just an extension of the general non-singleton rule?

-- Scott




More information about the dev mailing list