Duplicate :
|
If an MBean that implements NotificationEmitter is wrapped in StandardMBean, then MBeanServer.isInstanceOf(name,"javax.management.NotificationEmitter") yields true, but MBeanServer.addNotificationListener(name,...) fails with the following exception MBean <name> does not implement javax.management.NotificationEmitter javax.management.RuntimeOperationsException: MBean <name> does not implement javax.management.NotificationEmitter
|