On 04/23/09 10:13 PM, Dies Koper wrote:
> Hi Jan,
>
> I've attached a way to fix it on V2.1. I think it'll work for V3 too,
> I'll try.
> Could you review the patch?
>
Looks great, Dies!
This would be in line with how MapperListener#isNotificationEnabled filters
out and ignores any notifications corresponding to MBeans belonging to
a different server instance than the server instance on which the
MapperListener
is running:
public boolean isNotificationEnabled(Notification notification) {
String otherInstance = objectName.getKeyProperty("J2EEServer");
if (myInstance != null && otherInstance != null
&& !otherInstance.equals(myInstance)) {
return false;
}
Thanks!
Jan
> Regards,
> Dies
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net