com.metamatrix.console.models
Class TransactionManager

java.lang.Object
  extended by com.metamatrix.console.models.Manager
      extended by com.metamatrix.console.models.TimedManager
          extended by com.metamatrix.console.models.TransactionManager
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class TransactionManager
extends TimedManager

Extension of TimedManager to manage the Transactions tab. It creates and maintains the tab's table model, but has no reference to the tab itself.


Field Summary
 
Fields inherited from class com.metamatrix.console.models.TimedManager
DEFAULT_DELAY
 
Fields inherited from class com.metamatrix.console.models.Manager
MODEL_CHANGED, MODEL_STALE
 
Constructor Summary
TransactionManager(ConnectionInfo connection)
           
 
Method Summary
 TransactionTableModel getTableModel()
           
 void refresh()
          Refresh tells a manager that it's data is stale and it should retrieve real data (rather than cached data) the next time data is requested.
 void refreshTableModel()
          Method to refresh the table model with current data.
 
Methods inherited from class com.metamatrix.console.models.TimedManager
actionPerformed, getIsAutoRefreshEnabled, getRefreshRate, getTimer, init, isBusy, refresh, setBusy, setIsAutoRefreshEnabled, setRefreshRate, startTimer
 
Methods inherited from class com.metamatrix.console.models.Manager
addManagerListener, fireModelChangedEvent, fireModelChangedEvent, getConnection, getConnection, getEncryptor, getEventListeners, getIsStale, removeManagerListener, setIsStale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManager

public TransactionManager(ConnectionInfo connection)
Method Detail

getTableModel

public TransactionTableModel getTableModel()

refresh

public void refresh()
Description copied from class: Manager
Refresh tells a manager that it's data is stale and it should retrieve real data (rather than cached data) the next time data is requested.

Currently this method simply calls setIsStale(false)

Overrides:
refresh in class TimedManager
See Also:
Manager.setIsStale(boolean)

refreshTableModel

public void refreshTableModel()
Method to refresh the table model with current data.



Copyright © 2009. All Rights Reserved.