users@glassfish.java.net

Re: NotificationListener in AMX

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Oct 2007 08:25:49 PDT

This is rather unfortunate. But I am not sure if the MBean you have expressed
interest in, emits any notifications.

e.g.

[code]
            ConfigConfig cc = (ConfigConfig) map.get("ip-config");
            NotificationListener nl = new MyNotificationListener("test");
            cc.addNotificationListener(nl, null, null);
            cc.getLogServiceConfig().getModuleLogLevelsConfig().addNotificationListener(nl, null, null);
            cc.getLogServiceConfig().getModuleLogLevelsConfig().setSAAJ( "FINEST");
[/code]

Does the ModuleLogLevelsConfigMBean say that it emits the notifications?

I will look into this further. If you don't get any responses, please send an e-mail to
llc_at_dev.java.net

- Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=240172