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