Hi,

I saw Peter checked in ThreadPoolFilterMBean today.  Actually I was thinking
about adding JMX integration classes to
org.apache.mina.integration.jmxpackage.  Would this be a bad idea?
For example,

ThreadPoolFilter f = ...;

// ThreadPoolFilterMBean is not an interface but an implementation of
DynamicMBean (perhaps by extending StandardMBean).
server.registerMBean(new ThreadPoolFilterMBean(f), new ObjectName(...));

My idea behind this is to isolate JMX from the implementation because JMX is
not the only integration we will provide.  It is somewhat cumbersome to
implement DynamicMBean, but it will give us much more control and users more
description from JMX console.  WDYT?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to