This content has been marked as final.
Show 1 reply
-
1. Re: note on instrumenting a NotificationBroadcaster as an XM
ysidelnikov Jun 3, 2004 7:54 AM (in response to brettcalvin)Could you please provide more details ?
I have class :
public class Log implements NotificationBroadcaster
...
public void sendNotification(Notification notification)throws MBeanException
{
notifier.sendNotification(notification);
logger.info("sendNotification()");
}
...
public MBeanNotificationInfo[] getNotificationInfo()
{
return (new MBeanNotificationInfo[] {
notificationInfo
});
}
and xml:
<!-- Notifications -->
Log messages
javax.management.Notification
<notification-type>Log</notification-type>
but I can't see any notifications via for example MC4J.
Thank you.