From Daniel.Fuchs at Sun.COM Mon Jul 16 09:58:46 2007 From: Daniel.Fuchs at Sun.COM (Daniel Fuchs) Date: Mon, 16 Jul 2007 18:58:46 +0200 Subject: jmx-dev JmxMBeanServer constructor ignores the value the interceptors argument Message-ID: <469BA3C6.8090009@sun.com> Hi Amos, Thank you for you interest in the JMX Technology. This message concerns your incident report: http://webbugs.sfbay/rt/incidentDisplay?incidentID=1009839 JmxMBeanServer is a private API that you shouldn't be using from outside the JDK. See: http://webbugs.sfbay/rt/incidentDisplay?incidentID=528593 Instead of using the setMBeanServerInterceptor() method you should either: a) use the MBeanServerBuilder provided by the Project OpenDMK see http://opendmk.dev.java.net/ and http://docs.sun.com/app/docs/doc/816-7609/6mdjrf85d?q=MBeanServerInterceptor&a=view or b) Provide your own MBeanServerBuilder, which can be use to provide a similar functionality. You can download Project OpenDMK Sources at http://opendmk.dev.java.net/ too see how MBeanServerInterceptors can be implemented on top of the JMX API or see also this other example: http://blogs.sun.com/nickstephen/entry/jmx_extending_the_mbeanserver_to Best regards, -- daniel http://blogs.sun.com/jmxetc