Refresh by loading application context

Originally Posted by
praboo_p
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