|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xsocket.stream.MultithreadedServerMBeanProxyFactory
public final class MultithreadedServerMBeanProxyFactory
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
Constructor Summary | |
---|---|
MultithreadedServerMBeanProxyFactory()
|
Method Summary | |
---|---|
static void |
createAndRegister(javax.management.MBeanServer mbeanServer,
MultithreadedServer server,
java.lang.String domain)
creates and registers a mbean for the given server on the given MBeanServer under the given domain name |
static void |
createAndRegister(MultithreadedServer server)
creates and registers a mbean for the given server on the platform MBeanServer |
static void |
createAndRegister(MultithreadedServer server,
java.lang.String domain)
creates and registers a mbean for the given server on the platform MBeanServer under the given domain name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultithreadedServerMBeanProxyFactory()
Method Detail |
---|
public static void createAndRegister(MultithreadedServer server) throws javax.management.JMException
server
- the server to register
javax.management.JMException
- if an jmx exception occurspublic static void createAndRegister(MultithreadedServer server, java.lang.String domain) throws javax.management.JMException
server
- the server to registerdomain
- the domain name to use
javax.management.JMException
- if an jmx exception occurspublic static void createAndRegister(javax.management.MBeanServer mbeanServer, MultithreadedServer server, java.lang.String domain) throws javax.management.JMException
mbeanServer
- the mbean server to useserver
- the server to registerdomain
- the domain name to use
javax.management.JMException
- if an jmx exception occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |