[rhetorical] Should AttributeResolver implement the Resolver interface ?

Rod Widdowson rdw at steadingsoftware.com
Tue Nov 12 04:28:45 EST 2013


> I think the main point is the Closeable thing, the code is a lot cleaner
> with try-with-resources.
>

Right.
 
> I think we have to. 

I am in not in any way qualified to make the call, but you are and I'm glad
to hear you say it.

Because as you say:

> You can't hold a lock or a reference count across
> actions and expect a robust system, 

This was my nightmare when I sketched this out at the weekend.  No matter
how careful you are you are going get caught and the result will be
unpleasant.

> All that said, I think Marvin's point is valid. If we can actually reload
> the entire context safely with Spring alone, I think that's worth
> considering in place of doing this piecemeal.
> 
> I'm not saying I think we can, necessarily, but if it's really possible...

Oh yes.  It is my intention to get to the bottom of that next.





More information about the dev mailing list