Results 1 to 2 of 2

Thread: Refreshing stale proxy beans

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    1

    Default Refreshing stale proxy beans

    I have to refresh stale proxy beans in client after server restart. I know for RmiProxyFactoryBean we have a property called "refershStubOnConnectFailure". How do we do this for a mbean proxy client using MBeanProxyFactoryBean?

  2. #2
    Join Date
    Nov 2005
    Location
    Austria
    Posts
    38

    Default Refresh by loading application context

    Quote Originally Posted by praboo_p View Post
    I have to refresh stale proxy beans in client after server restart. I know for RmiProxyFactoryBean we have a property called "refershStubOnConnectFailure". How do we do this for a mbean proxy client using MBeanProxyFactoryBean?
    We had the same problem. Since there's no "refershStubOnConnectFailure" property in the MBeanProxyFactoryBean class, we're loading a special application context with a MBeanProxyFactoryBean bean before each call to the MBean. Results in loosley coupled systems and the performance is OK.

    Greetings
    Juergen
    _________________________________
    Juergen Mayrbaeurl - Solution architect

Posting Permissions

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