users@glassfish.java.net

Re: Using params passed to monitoring infrastructure to list dynamic entries

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Mon, 11 Apr 2011 09:02:08 -0500

The next section in the documentation talks about defining listeners for
events that compute statistics that can be added to the object tree. See:

http://download.oracle.com/docs/cd/E19226-01/820-7727/ghplw/index.html

Specifically, look at example 5-7 in which the event listener is
registered. If the event listener is defined such that it only listens
for events for a particular connection, then you can register a
different event listener for each connection, thereby achieving what you
want.

Tom