Yes, well... at line 51 you add a listener which will wait for notifications from that MBean, and then the listener's handleNotification method will be called when any such notifications arrive.
But then just microseconds later, you disconnect from the JMX server and the program terminates. The chance that a notification would just happen to arrive in that time interval is extremely small. So don't close the server, and don't end the program. Let it run for a while and (if things are configured correctly) you should start seeing notifications.
Well, first of all I would suggest fixing your code so that it waits for all notifications from that JMX bean and displays them when they arrive. Right now, as I already said, your code only listens for notifications for a very short instant of time.
Once you have that working, you'll find you get more notifications than you want. That would be the time to start working with filters.