org.xsocket.stream.io.impl
Class JmxIoProvider

Package class diagram package JmxIoProvider
java.lang.Object
  extended by org.xsocket.stream.io.impl.JmxIoProvider
All Implemented Interfaces:
IServerIoJmxProvider

public final class JmxIoProvider
extends java.lang.Object
implements IServerIoJmxProvider

A Mbean proxy factory, which creates and registers an appropriated mbean for a given MultithreadedServer instance.

This class is for test purpose only, and will be modified or discarded in future versions


Field Summary
 
Fields inherited from interface org.xsocket.stream.io.spi.IServerIoJmxProvider
PROVIDER_CLASSNAME_KEY
 
Constructor Summary
JmxIoProvider()
           
 
Method Summary
 java.lang.Object createMBean(MultithreadedServer server, IAcceptor acceptor, java.lang.String domain)
          create a mbean
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxIoProvider

public JmxIoProvider()
Method Detail

createMBean

public java.lang.Object createMBean(MultithreadedServer server,
                                    IAcceptor acceptor,
                                    java.lang.String domain)
                             throws javax.management.JMException
Description copied from interface: IServerIoJmxProvider
create a mbean

Specified by:
createMBean in interface IServerIoJmxProvider
Parameters:
server - the server
acceptor - the assigned acceptor
domain - the domain
Returns:
the mbean
Throws:
javax.management.JMException - if an exception occurs