xmlBlaster 2.1.0 API

org.xmlBlaster.jmxgui
Class ConnectorClient

java.lang.Object
  extended by org.xmlBlaster.jmxgui.ConnectorClient

public class ConnectorClient
extends java.lang.Object

Class that encapsulates Communication to xmlBlaster / MBeanServer from GUI


Field Summary
private static AsyncMBeanServer aServer
           
private  ConnectorFactory connectorFactory
           
private  Global glob
           
private static java.util.logging.Logger log
           
private static java.lang.String ME
           
 
Constructor Summary
ConnectorClient(Global glob, java.lang.String serverName)
           
 
Method Summary
 javax.management.MBeanOperationInfo[] exploreMBeanOperationsByObjectName(java.lang.String name)
          Discovers the Operations that an MBEan exposes for management
 javax.management.MBeanAttributeInfo[] exploreMBeansByObjectName(java.lang.String name)
          Returns Information about all attributes that are handeled by the given MBean
private  javax.management.MBeanInfo getMBeanInfo(java.lang.String name)
          Discovers the attributes and operations that an MBean exposes for management.
 AsyncMBeanServer getServer()
          Returns AsyncMBeanServer Object.
 java.lang.String[] getServerList()
          Returns a list of servers that have a JMX-Server running TODO: implement cluster-lookup from xmlBlaster-lib.
 void logout()
          logout from Server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log

glob

private Global glob

aServer

private static AsyncMBeanServer aServer

ME

private static final java.lang.String ME
See Also:
Constant Field Values

connectorFactory

private ConnectorFactory connectorFactory
Constructor Detail

ConnectorClient

public ConnectorClient(Global glob,
                       java.lang.String serverName)
Method Detail

getServer

public AsyncMBeanServer getServer()
                           throws ConnectorException
Returns AsyncMBeanServer Object. For basic access to MBean-functions within the clients

Returns:
Throws:
ConnectorException

getServerList

public java.lang.String[] getServerList()
Returns a list of servers that have a JMX-Server running TODO: implement cluster-lookup from xmlBlaster-lib. JMX-implementation not working correctly


logout

public void logout()
logout from Server


exploreMBeansByObjectName

public javax.management.MBeanAttributeInfo[] exploreMBeansByObjectName(java.lang.String name)
Returns Information about all attributes that are handeled by the given MBean

Parameters:
name - name of the MBean
Returns:
Array of MBeanAttributeInfo

getMBeanInfo

private javax.management.MBeanInfo getMBeanInfo(java.lang.String name)
Discovers the attributes and operations that an MBean exposes for management.

Parameters:
name - name of the Bean
Returns:
MBeanInfo

exploreMBeanOperationsByObjectName

public javax.management.MBeanOperationInfo[] exploreMBeanOperationsByObjectName(java.lang.String name)
Discovers the Operations that an MBEan exposes for management

Parameters:
name - name of the Bean
Returns:
Array of MBeanOperationInfo

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.