Results 1 to 2 of 2

Thread: Programatically modify ProxyFactoryBean properties?

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Atlanta, GA
    Posts
    10

    Default Programatically modify ProxyFactoryBean properties?

    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.

  2. #2
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    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,
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

Similar Threads

  1. FlowExecutionStorage in a DB
    By cacho in forum Web Flow
    Replies: 7
    Last Post: Oct 19th, 2009, 03:36 PM
  2. Hibernate Properties as JMX
    By FelderR in forum Container
    Replies: 1
    Last Post: Jul 4th, 2005, 04:59 AM
  3. Replies: 0
    Last Post: May 8th, 2005, 02:15 AM
  4. Shared properties within application context
    By milosh in forum Architecture
    Replies: 5
    Last Post: Nov 16th, 2004, 08:29 AM
  5. Replies: 19
    Last Post: Oct 20th, 2004, 11:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •