Ontimize 5.2072EN

com.ontimize.gui
Class ExtendedServerMonitor

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended bycom.ontimize.gui.ExtendedServerMonitor
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class ExtendedServerMonitor
extends javax.swing.JFrame

See Also:
Serialized Form

Nested Class Summary
protected static class ExtendedServerMonitor.ConnectionPanel
           
protected static class ExtendedServerMonitor.MenuListener
           
protected  class ExtendedServerMonitor.MultiConnectionPanel
           
protected  class ExtendedServerMonitor.UpdateThread
           
 
Nested classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected static java.util.ResourceBundle bundle
           
protected static java.lang.String CLEAR_OUT_ERR
           
protected  javax.swing.JButton closeButton
           
protected  javax.swing.JButton closeConnectionsButton
           
protected  javax.swing.JButton closeSessionsButton
           
protected  javax.swing.JLabel connectionNumber
           
protected static java.lang.String CONNECTIONS
           
protected static java.lang.String CURRENT_SESSIONS
           
protected static java.lang.String DATABASE_CONNECT_DISCONNECT
           
protected static java.lang.String DATABASE_CONNECTION
           
protected  DatabaseConnectionManager dBManager
           
static java.lang.Object[] debugs
           
static java.lang.String DELETE_ALL_ENTITIES
           
static java.lang.String DELETE_SELECTED_ENTITIES
           
protected  javax.swing.JButton deleteAllEntities
           
protected  javax.swing.JButton deleteSelectedEntities
           
protected  java.lang.String description
           
static java.lang.String DESCRIPTION
           
protected static java.lang.String DETAILED_INFORMATION
           
protected  javax.swing.JList entityList
           
protected  javax.swing.JPopupMenu errorPopup
           
protected static java.lang.String EXIT
           
protected  FindDialog fDialogErr
           
protected  FindDialog fDialogOut
           
protected static java.lang.String FLUSH_OUT
           
protected static java.lang.String GC
           
protected static java.lang.String HIDE
           
protected static java.lang.String INFORMATION_TABLE_NAME
           
protected static java.lang.String INFORMATION_TABLE_VALUE
           
protected  javax.swing.JTable informationTable
           
static java.lang.String LOADED_ENTITIES
           
static java.lang.String LOCALE
           
protected  EntityReferenceLocator locator
           
protected static java.lang.String LOCKED
           
protected  javax.swing.JLabel lockedNumber
           
protected  javax.swing.JLabel lockedTime
           
protected static java.lang.String M_CLOSE_APPLICATION_SERVER
           
static java.lang.String M_CLOSE_SELECTED_SESSIONS
           
static java.lang.String M_CLOSE_SESSIONS
           
protected static java.lang.String M_DO_YOU_WISH_TO_CLOSE_APPLICATION_SERVER
           
static java.lang.String MAIN_INFORMATION
           
protected static java.lang.String MAX_LOCKED_TIME
           
protected  javax.swing.JLabel maxLockedTime
           
protected static java.lang.String MEAN_LOCKED_TIME
           
protected  MemoryMonitorComponent mm
           
protected  boolean multiConnectionManager
           
protected  ExtendedServerMonitor.MultiConnectionPanel multiConnectionPanel
           
protected  javax.swing.JPopupMenu outPopup
           
protected  java.util.Properties props
           
protected static java.lang.String Q_CLOSE_APPLICATION_SERVER
           
protected static java.lang.String Q_CLOSE_SESSIONS
           
static java.lang.String REFRESH_ENTITIES
           
protected  javax.swing.JButton refreshEntities
           
static java.lang.String RESOURCE
           
protected static java.lang.String SEARCH
           
static java.lang.String SERVER_BUNDLE
           
protected static java.lang.String SERVER_PROPERTIES
           
protected  javax.swing.JList sessionList
           
protected static java.lang.String SHOW_APPLICATION
           
protected static java.lang.String STANDARD_ERROR
           
protected static java.lang.String STANDARD_OUTPUT
           
static java.lang.String START_ON_SYSTRAY
           
protected  boolean startOnSysTray
           
static java.lang.String SYSTRAY_ICON
           
protected  java.lang.String systrayIcon
           
protected  ExtendedServerMonitor.UpdateThread t
           
protected  javax.swing.JTextArea textAreaErr
           
protected  javax.swing.JTextArea textAreaOut
           
protected  java.lang.Object toolbarIcon
           
protected static java.lang.String TRANSFERS
           
protected  long updateCicleTime
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ExtendedServerMonitor(java.util.Properties props)
           
 
Method Summary
 void addProperties(java.util.Hashtable p)
           
protected  javax.swing.JPanel createEntitiesPanel()
           
protected  javax.swing.JTable createInformationTable()
           
protected  javax.swing.JList createSessionList()
           
protected  boolean getDEBUGValue(java.lang.String v)
           
protected  java.util.Hashtable getServerProperties()
           
static java.lang.String getTranslation(java.lang.String text)
           
static java.lang.String getTranslation(java.lang.String text, java.lang.Object[] args)
           
protected  void init()
           
protected  void processWindowEvent(java.awt.event.WindowEvent e)
           
protected  void removeFromTray()
           
protected  boolean sendToTray()
           
protected  void setDEBUGValue(java.lang.String v, boolean b)
           
 void setReferenceLocator(EntityReferenceLocator referenceLocator)
           
 void setVisible(boolean vis)
           
 void showMultiConnectionManager()
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

START_ON_SYSTRAY

public static final java.lang.String START_ON_SYSTRAY
See Also:
Constant Field Values

SYSTRAY_ICON

public static final java.lang.String SYSTRAY_ICON
See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

LOCALE

public static final java.lang.String LOCALE
See Also:
Constant Field Values

RESOURCE

public static final java.lang.String RESOURCE
See Also:
Constant Field Values

DATABASE_CONNECT_DISCONNECT

protected static final java.lang.String DATABASE_CONNECT_DISCONNECT
See Also:
Constant Field Values

M_CLOSE_APPLICATION_SERVER

protected static final java.lang.String M_CLOSE_APPLICATION_SERVER
See Also:
Constant Field Values

M_CLOSE_SESSIONS

public static final java.lang.String M_CLOSE_SESSIONS
See Also:
Constant Field Values

Q_CLOSE_APPLICATION_SERVER

protected static final java.lang.String Q_CLOSE_APPLICATION_SERVER
See Also:
Constant Field Values

M_DO_YOU_WISH_TO_CLOSE_APPLICATION_SERVER

protected static final java.lang.String M_DO_YOU_WISH_TO_CLOSE_APPLICATION_SERVER
See Also:
Constant Field Values

Q_CLOSE_SESSIONS

protected static final java.lang.String Q_CLOSE_SESSIONS
See Also:
Constant Field Values

M_CLOSE_SELECTED_SESSIONS

public static final java.lang.String M_CLOSE_SELECTED_SESSIONS
See Also:
Constant Field Values

SERVER_PROPERTIES

protected static final java.lang.String SERVER_PROPERTIES
See Also:
Constant Field Values

CURRENT_SESSIONS

protected static final java.lang.String CURRENT_SESSIONS
See Also:
Constant Field Values

TRANSFERS

protected static final java.lang.String TRANSFERS
See Also:
Constant Field Values

GC

protected static final java.lang.String GC
See Also:
Constant Field Values

HIDE

protected static final java.lang.String HIDE
See Also:
Constant Field Values

SEARCH

protected static final java.lang.String SEARCH
See Also:
Constant Field Values

SHOW_APPLICATION

protected static final java.lang.String SHOW_APPLICATION
See Also:
Constant Field Values

EXIT

protected static final java.lang.String EXIT
See Also:
Constant Field Values

CLEAR_OUT_ERR

protected static final java.lang.String CLEAR_OUT_ERR
See Also:
Constant Field Values

FLUSH_OUT

protected static final java.lang.String FLUSH_OUT
See Also:
Constant Field Values

STANDARD_ERROR

protected static final java.lang.String STANDARD_ERROR
See Also:
Constant Field Values

STANDARD_OUTPUT

protected static final java.lang.String STANDARD_OUTPUT
See Also:
Constant Field Values

MAIN_INFORMATION

public static final java.lang.String MAIN_INFORMATION
See Also:
Constant Field Values

MAX_LOCKED_TIME

protected static final java.lang.String MAX_LOCKED_TIME
See Also:
Constant Field Values

MEAN_LOCKED_TIME

protected static final java.lang.String MEAN_LOCKED_TIME
See Also:
Constant Field Values

LOCKED

protected static final java.lang.String LOCKED
See Also:
Constant Field Values

CONNECTIONS

protected static final java.lang.String CONNECTIONS
See Also:
Constant Field Values

DATABASE_CONNECTION

protected static final java.lang.String DATABASE_CONNECTION
See Also:
Constant Field Values

DETAILED_INFORMATION

protected static final java.lang.String DETAILED_INFORMATION
See Also:
Constant Field Values

INFORMATION_TABLE_VALUE

protected static final java.lang.String INFORMATION_TABLE_VALUE
See Also:
Constant Field Values

INFORMATION_TABLE_NAME

protected static final java.lang.String INFORMATION_TABLE_NAME
See Also:
Constant Field Values

DELETE_SELECTED_ENTITIES

public static final java.lang.String DELETE_SELECTED_ENTITIES
See Also:
Constant Field Values

DELETE_ALL_ENTITIES

public static final java.lang.String DELETE_ALL_ENTITIES
See Also:
Constant Field Values

LOADED_ENTITIES

public static final java.lang.String LOADED_ENTITIES
See Also:
Constant Field Values

REFRESH_ENTITIES

public static final java.lang.String REFRESH_ENTITIES
See Also:
Constant Field Values

description

protected java.lang.String description

systrayIcon

protected java.lang.String systrayIcon

startOnSysTray

protected boolean startOnSysTray

props

protected java.util.Properties props

locator

protected EntityReferenceLocator locator

dBManager

protected DatabaseConnectionManager dBManager

updateCicleTime

protected long updateCicleTime

sessionList

protected javax.swing.JList sessionList

informationTable

protected javax.swing.JTable informationTable

textAreaOut

protected javax.swing.JTextArea textAreaOut

textAreaErr

protected javax.swing.JTextArea textAreaErr

mm

protected MemoryMonitorComponent mm

fDialogOut

protected FindDialog fDialogOut

fDialogErr

protected FindDialog fDialogErr

outPopup

protected javax.swing.JPopupMenu outPopup

errorPopup

protected javax.swing.JPopupMenu errorPopup

toolbarIcon

protected java.lang.Object toolbarIcon

closeSessionsButton

protected javax.swing.JButton closeSessionsButton

closeButton

protected javax.swing.JButton closeButton

closeConnectionsButton

protected javax.swing.JButton closeConnectionsButton

multiConnectionManager

protected boolean multiConnectionManager

multiConnectionPanel

protected ExtendedServerMonitor.MultiConnectionPanel multiConnectionPanel

deleteSelectedEntities

protected javax.swing.JButton deleteSelectedEntities

deleteAllEntities

protected javax.swing.JButton deleteAllEntities

refreshEntities

protected javax.swing.JButton refreshEntities

entityList

protected javax.swing.JList entityList

bundle

protected static java.util.ResourceBundle bundle

SERVER_BUNDLE

public static final java.lang.String SERVER_BUNDLE
See Also:
Constant Field Values

debugs

public static java.lang.Object[] debugs

connectionNumber

protected javax.swing.JLabel connectionNumber

lockedNumber

protected javax.swing.JLabel lockedNumber

lockedTime

protected javax.swing.JLabel lockedTime

maxLockedTime

protected javax.swing.JLabel maxLockedTime

t

protected ExtendedServerMonitor.UpdateThread t
Constructor Detail

ExtendedServerMonitor

public ExtendedServerMonitor(java.util.Properties props)
Method Detail

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)

init

protected void init()

createEntitiesPanel

protected javax.swing.JPanel createEntitiesPanel()

setVisible

public void setVisible(boolean vis)

getDEBUGValue

protected boolean getDEBUGValue(java.lang.String v)

setDEBUGValue

protected void setDEBUGValue(java.lang.String v,
                             boolean b)

addProperties

public void addProperties(java.util.Hashtable p)

getServerProperties

protected java.util.Hashtable getServerProperties()

createSessionList

protected javax.swing.JList createSessionList()

createInformationTable

protected javax.swing.JTable createInformationTable()

setReferenceLocator

public void setReferenceLocator(EntityReferenceLocator referenceLocator)

sendToTray

protected boolean sendToTray()

removeFromTray

protected void removeFromTray()

getTranslation

public static java.lang.String getTranslation(java.lang.String text)

getTranslation

public static java.lang.String getTranslation(java.lang.String text,
                                              java.lang.Object[] args)

showMultiConnectionManager

public void showMultiConnectionManager()

Ontimize