com.cosylab.jcosyne.client
Class JMXAdministratorEngine

java.lang.Object
  extended bycom.cosylab.jcosyne.client.JMXClient
      extended bycom.cosylab.jcosyne.client.JMXAdministratorEngine

public class JMXAdministratorEngine
extends JMXClient

Controller class for the JMXAdministrator GUI front end. Not documented separately. Simply uses the JMXClient methods to obtain data from the JMX server, pack it into models and forward to JMXAdministrator GUI for display.

Author:
Gasper Tkacik (gasper.tkacik@cosylab.com)

Field Summary
 
Fields inherited from class com.cosylab.jcosyne.client.JMXClient
props, target, targetRef
 
Constructor Summary
JMXAdministratorEngine()
          Creates a new instance of JMXAdministratorEngine
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void cloneRepository(int ix)
           
 void cloneTaskIntoLocal(javax.management.ObjectName name)
           
 javax.swing.JPanel createPropertyPanel(javax.management.ObjectName target, java.lang.String property, boolean text)
           
 void deleteRecord(int ix, boolean outputsToo)
           
 void fillDetails(int ix, javax.swing.table.DefaultTableModel stateT, javax.swing.DefaultListModel resources)
           
 javax.swing.table.TableModel getEntries(javax.swing.table.TableModel filter)
           
 javax.swing.table.TableModel getLogModel()
           
 java.beans.PropertyChangeListener[] getPropertyChangeListeners()
           
 int getShutdown()
           
 java.util.Map getTaskData()
           
 javax.swing.ListModel getTasksModel()
           
 boolean initializeGUI()
           
 void instantiateIntoLocal(int ix)
           
 void killTask(javax.management.ObjectName name)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void removePropertyPanel(javax.swing.JPanel panel)
           
 void restartServer()
           
 void resumeRemoteTask(javax.management.ObjectName name)
           
 void saveFile(int ix, java.lang.String filename)
           
 void saveRecord(int ix, java.lang.String annotation)
           
 void setLocal(com.cosylab.jcosyne.client.LocalSetup loc)
           
 void stopRemoteTask(javax.management.ObjectName name)
           
 void suspendRemoteTask(javax.management.ObjectName name)
           
 
Methods inherited from class com.cosylab.jcosyne.client.JMXClient
getExecutor, getServer, getServer, isRecording, loadRemoteTask, setRecording, shutdown, startRemoteTask, stopRemoteTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXAdministratorEngine

public JMXAdministratorEngine()
Creates a new instance of JMXAdministratorEngine

Method Detail

initializeGUI

public boolean initializeGUI()

getTaskData

public java.util.Map getTaskData()

getTasksModel

public javax.swing.ListModel getTasksModel()

removePropertyPanel

public void removePropertyPanel(javax.swing.JPanel panel)

createPropertyPanel

public javax.swing.JPanel createPropertyPanel(javax.management.ObjectName target,
                                              java.lang.String property,
                                              boolean text)

getLogModel

public javax.swing.table.TableModel getLogModel()

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)

getPropertyChangeListeners

public java.beans.PropertyChangeListener[] getPropertyChangeListeners()

saveFile

public void saveFile(int ix,
                     java.lang.String filename)

fillDetails

public void fillDetails(int ix,
                        javax.swing.table.DefaultTableModel stateT,
                        javax.swing.DefaultListModel resources)

getEntries

public javax.swing.table.TableModel getEntries(javax.swing.table.TableModel filter)

stopRemoteTask

public void stopRemoteTask(javax.management.ObjectName name)

resumeRemoteTask

public void resumeRemoteTask(javax.management.ObjectName name)

suspendRemoteTask

public void suspendRemoteTask(javax.management.ObjectName name)

saveRecord

public void saveRecord(int ix,
                       java.lang.String annotation)

deleteRecord

public void deleteRecord(int ix,
                         boolean outputsToo)

cloneTaskIntoLocal

public void cloneTaskIntoLocal(javax.management.ObjectName name)

cloneRepository

public void cloneRepository(int ix)

setLocal

public void setLocal(com.cosylab.jcosyne.client.LocalSetup loc)

instantiateIntoLocal

public void instantiateIntoLocal(int ix)

killTask

public void killTask(javax.management.ObjectName name)

restartServer

public void restartServer()

getShutdown

public int getShutdown()