No mistake, that was deliberate - compare the strings in the two finder methods (looking at the superclass hierarchy getResource only calls findResource, and getResources only calls findResources)

I was setting the getter method name in the ThreadLocal and then checking the relevant caller in the associated finder method. As I mentioned earlier if we needed to track other callers then this is more flexible approach (similar to tracking methods when logging/tracing) but a simple flag would work just as well for the basic solution (or a counter if we needed to support reentrancy).
>