public class BambooProxyFactoryBean
ProxyFactoryBean, when used with target bean reference, is unable to determine the produced object type during autowiring type checks.
This results in a full instantiation of the Factory and the singleton object it produces, resulting in a dependency resultion storm across all bean
factories when the first autowired dependency is being resolved.
There are several solutions to this:
* use targetName instead of target (not ideal, because you cannot inline the bean definition)
* all top level dependencies on the target have to be made lazy
* this class, which relies on the fact that the object type check has to use injection on the constructor to create the factory for the type check.
The constructors is wired with the class name and is able to present it during the type check.