org.xmlBlaster.client.jmx
Class ConnectorFactory
java.lang.Object
org.xmlBlaster.client.jmx.ConnectorFactory
public class ConnectorFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singletonFactory
private static volatile ConnectorFactory singletonFactory
applicationGlobal
private static Global applicationGlobal
syncObject
private static java.lang.Object syncObject
global
private Global global
log
private static java.util.logging.Logger log
childGlobals
private java.util.TreeMap childGlobals
servers
private java.util.TreeMap servers
ConnectorFactory
private ConnectorFactory(Global global)
getInstance
public static ConnectorFactory getInstance(Global global)
addAsyncConnector
private AsyncMBeanServer addAsyncConnector(java.lang.String transport,
java.lang.String serverName)
throws ConnectorException
- Creates an instance of an AsyncMBeanServer.
- Parameters:
transport
- the string identifying the communication type. Currently only
xmlBlaster is supported.serverName
- the name of the server to create. If null is passed, '127.0.0.1' is
assumed.
- Throws:
ConnectorException
getExistingAsyncConnector
private AsyncMBeanServer getExistingAsyncConnector(java.lang.String serverName)
- returns the async mbean server within this child global. It returns null if no one
has been added yet.
getMBeanServer
public AsyncMBeanServer getMBeanServer(java.lang.String serverName)
throws ConnectorException
- Gets the async mbean server specified with the given name.
- Parameters:
global
- is the parent global, i.e. the global configured on application start.
- Throws:
ConnectorException
getMBeanServerList
public java.lang.String[] getMBeanServerList()
Copyright © 1999-2014 The xmlBlaster.org contributers.