"target property" or "last entry in intercept
Hi,
I put the bean to be proxied in the property@name="target", and set a property@name="singleton" to true for ProxyFactoryBean. This gives me an exception saying that name is null when refreshing target. I found that the exception is thrown in the method refreshTarget().
after reading the src, I found that when using "prototype" (singleton=false), ProxyFactoryBean expects the targetsource to be appended as the last entry in interceptorNames, and not in the "target" property. Is this the desired behaviour? using the "target" property alone works fine if I set singleton to true.
Thanks..
Zehua Liu