4 Replies Latest reply on Jan 27, 2003 10:09 AM by Scott Clasen

    MBeanProxy design question

    Scott Clasen Newbie

      In both implementations that I see for MBeanBroxy, in common, and jmx, it seems like you cache the MBean attributes in the Proxy/Invocation handler.

      What about in the case of a DynamicMBean that can have attributes added or removed dynamically? Say I have an "addAttribute" method exposed from a DynamicMBean, and I get a Proxy to that MBean, add an attribute, and then try to get it later on from the Proxy. It wont be there...

      Is this against the letter or spirit of the JMX spec? Are there good reasons for not just going to the server for each get attribute?