question: static public void addNotificationListener ( JMXConnector jmxConnector , Class < ? > mbeanInterface , String mbeanName , NotificationListener notificationListener , boolean ignored ) throws InstanceNotFoundException , Exception { MBeanServerConnection mbsc = jmxConnector . getMBeanServerConnection ( ) ; ObjectName objectName = generateMBeanObjectName ( mbeanInterface . getName ( ) , mbeanName ) ; mbsc . addNotificationListener ( objectName , notificationListener , null , null ) ; }
target:  Attach NotificationListener that can be used to listen notifications emitted by MBean server.