xmlBlaster 2.1.0 API

org.xmlBlaster.jmxgui.plugins
Class GenericJmxModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.xmlBlaster.jmxgui.plugins.GenericJmxModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class GenericJmxModel
extends javax.swing.table.AbstractTableModel

Model that wraps key-value pairs from MBeans that are exposed for management

See Also:
Serialized Form

Field Summary
protected  AsyncMBeanServer aServer
           
private  java.lang.String className
           
protected  ConnectorClient connectorClient
           
private  java.util.HashMap hmtable
           
private  java.lang.String objectName
           
protected  javax.management.ObjectName RequestBroker
           
protected  java.util.Vector vecMBeans
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
GenericJmxModel(ConnectorClient connectorClient, java.lang.String objectName, java.lang.String className)
           
 
Method Summary
 void exploreMBeans()
           
 void fillHashMap()
           
 int getColumnCount()
           
 java.lang.String getColumnName(int columnIndex)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable(int i, int j)
           
 void loadData()
           
 void loadMBean(java.lang.String myObjectName, java.lang.String className)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vecMBeans

protected java.util.Vector vecMBeans

connectorClient

protected ConnectorClient connectorClient

aServer

protected AsyncMBeanServer aServer

RequestBroker

protected javax.management.ObjectName RequestBroker

hmtable

private java.util.HashMap hmtable

objectName

private java.lang.String objectName

className

private java.lang.String className
Constructor Detail

GenericJmxModel

public GenericJmxModel(ConnectorClient connectorClient,
                       java.lang.String objectName,
                       java.lang.String className)
Method Detail

loadData

public void loadData()

fillHashMap

public void fillHashMap()

exploreMBeans

public void exploreMBeans()

loadMBean

public void loadMBean(java.lang.String myObjectName,
                      java.lang.String className)

isCellEditable

public boolean isCellEditable(int i,
                              int j)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

getColumnName

public java.lang.String getColumnName(int columnIndex)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.