HttpServletRequest request,
HttpServletResponse response)
throws Exception {
String objName = request.getParameter(RequestParams.OBJECT_NAME);
/* find mbeans that have notifications */
MBeanService mbeanService = ServiceFactory.getMBeanService();
Map<String, ObjectNotificationInfo[]> mbeanToNotificationsMap =
new HashMap<String, ObjectNotificationInfo[]>();
Map<String, ObjectNotificationInfo[]> mbeansToNotificationsMap =
mbeanService.queryMBeansWithNotifications(context.getServiceContext());
if(objName != null){
mbeanToNotificationsMap.put(objName, mbeansToNotificationsMap.get(objName));
request.setAttribute("mbeanToNotificationsMap", mbeanToNotificationsMap);
}else{
request.setAttribute("mbeanToNotificationsMap", mbeansToNotificationsMap);