hi all
I have a problem with the following piece o'code:
Any ideas, how to make (fool?) the ProxyFactory return the proxied object instead of an empty proxy?Code:ProxyFactory pf = new ProxyFactory(); pf.setProxyTargetClass( true ); pf.addAdvisor( advisor ); pf.setTargetSource( new SingletonTargetSource( object ) ); Object proxy = pf.getProxy(); //<-- here I'm getting a blank new instance instead of a proxied object
Thanks


Reply With Quote
) Rick,
