// final Object result = new UnsupportedOperationException("" + METHOD_ID);
Object result = null;
boolean isException = false;
ObjectName objname = (ObjectName)request.getParams()[0];
String cid = (String) request.getParams()[1];
String id = (String) request.getParams()[2];
NotificationListenerProxy proxy =
new NotificationListenerProxy( objname,
notifyMgr,
cid);
notifyMgr.addNotificationListener(objname, id, proxy);
try {
mbsc.addNotificationListener(objname, proxy, null, null);
} catch (Exception e) {
isException = true;
result = e;
}
return ( new MBeanServerResponseMessage(METHOD_ID, result, isException) );