cntorServer = JMXConnectorServerFactory.newJMXConnectorServer(url, getEnvironment(), newMBeanServer());
cntorServer.start();
sleep(5000);
final MutableObject holder = new MutableObject(null);
cntorServer.addNotificationListener(new NotificationListener()
{
public void handleNotification(Notification notification, Object handback)
{
holder.set(notification);
}