static public void removeNotificationListener(JMXConnector jmxConnector,Class<?> mbeanClass,NotificationListener notificationListener) throws Exception {
  MBeanServerConnection mbsc=jmxConnector.getMBeanServerConnection();
  ObjectName objectName=generateMBeanObjectName(mbeanClass);
  mbsc.removeNotificationListener(objectName,notificationListener);
}

static public void removeNotificationListener ( JMXConnector jmxConnector , Class < ? > mbeanClass , NotificationListener notificationListener ) throws Exception { MBeanServerConnection mbsc = jmxConnector . getMBeanServerConnection ( ) ; ObjectName objectName = generateMBeanObjectName ( mbeanClass ) ; mbsc . removeNotificationListener ( objectName , notificationListener ) ; }
remove notificationlistener from this mbean .
