Hi Jian,
On 10/7/06, jian wu <[EMAIL PROTECTED]> wrote:
Hi Julien and Trustin,
Thanks a lot for your quick reply and pointing me to
org.apache.mina.integration.jmx classes.
I looked into both IoSessionManager and IoServiceManager
and associated package.html. Just one more detailed
question following the code snippet in package.html:
======================================
IoServiceManager iosm = new IoServiceManager(acceptor);
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
ObjectName name = new ObjectName(
"com.acme.test:type=IoServiceManager,name=MyMINAServer" );
mbs.registerMBean( iosm, name );
======================================
Is it intended that "IoServiceManagerMBean.startCollectingStats()"
should be called through remote JMX Client to start/stop collecting
statistics?
Yes, it is. I think providing a constructor parameter that enables auto
start is a good idea though. I created a JIRA issue regarding it:
http://issues.apache.org/jira/browse/DIRMINA-280
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