View Full Version : Programatically modify ProxyFactoryBean properties?
tcollins
Aug 20th, 2004, 05:49 PM
I was wondering if is it possible to modify a HttpInvokerProxyFactoryBean property after the client context xml has been loaded? Or would I have to reload the xml? I would like to be able to modify the 'serviceUrl' property because the server location and port need to be configurable and controlled by the client application.
Colin Sampaleanu
Aug 20th, 2004, 07:37 PM
No, the proxy is created once, on first usage of the factory bean.
If this is a strong requirement, it shouldn't be that big a deal for you to create your own proxies programmatically though. Just create a HttpInvokerProxyFactoryBean manually, with the proper values, and call getObject on it.
Regards,
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.