I am confused about one particular aspect of this solution... How does the Log4jService MBean indicate via the implementation of NotificationBroadcaster.getNotificationInfo that it emits this new notification (or does it at all)?
I can see via the new Log4jService code that a notification is emitted, but the non-overridden implementation of NotificationBroadcaster.getNotificationInfo just returns an empty array by default. Furthermore, the Log4jService's XML descriptor (in jboss-service.xml) and the XMBean descriptor that it refers to do not appear to add this notification information. Is there some functionality that I am missing, or is the implementation of the NotificationBroadcaster.getNotificationInfo method not a big deal (the code should work anyway)? I ask because in the development of my own NotificationBroadcaster's, should I override the behavior provided by NotificationBroadcasterSupport, use a JBoss XML descriptor in some fashion, or is this a detail that I should not worry about? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916498#3916498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916498 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user