org.terracotta.modules.hibernatecache.presentation
Class BaseHibernateRuntimeStatsPanel
java.lang.Object
XContainer
org.terracotta.modules.hibernatecache.presentation.BaseHibernateRuntimeStatsPanel
- All Implemented Interfaces:
- HierarchyListener, EventListener, NotificationListener, ChangeListener
- Direct Known Subclasses:
- AggregateHibernateRuntimeStatsPanel, ClientHibernateRuntimeStatsPanel
public abstract class BaseHibernateRuntimeStatsPanel
- extends XContainer
- implements HierarchyListener, ChangeListener, NotificationListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appContext
protected ApplicationContext appContext
clusterModel
protected IClusterModel clusterModel
clusterListener
protected org.terracotta.modules.hibernatecache.presentation.BaseHibernateRuntimeStatsPanel.ClusterListener clusterListener
persistenceUnit
protected String persistenceUnit
tabbedPane
protected XTabbedPane tabbedPane
entityTable
protected XObjectTable entityTable
entityTableModel
protected XObjectTableModel entityTableModel
refreshEntitiesButton
protected XButton refreshEntitiesButton
collectionTable
protected XObjectTable collectionTable
collectionTableModel
protected XObjectTableModel collectionTableModel
refreshCollectionsButton
protected XButton refreshCollectionsButton
queryTable
protected XObjectTable queryTable
queryTableModel
protected XObjectTableModel queryTableModel
refreshQueriesButton
protected XButton refreshQueriesButton
beanProvider
protected HibernateStatsMBeanProvider beanProvider
statsBeanObjectName
protected ObjectName statsBeanObjectName
ENTITY_STATS
protected static final String ENTITY_STATS
- See Also:
- Constant Field Values
COLLECTION_STATS
protected static final String COLLECTION_STATS
- See Also:
- Constant Field Values
QUERY_STATS
protected static final String QUERY_STATS
- See Also:
- Constant Field Values
BaseHibernateRuntimeStatsPanel
public BaseHibernateRuntimeStatsPanel()
getClusterModel
protected IClusterModel getClusterModel()
setup
public void setup(ApplicationContext appContext,
IClusterModel clusterModel,
String persistenceUnit)
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged in interface ChangeListener
hierarchyChanged
public void hierarchyChanged(HierarchyEvent e)
- Specified by:
hierarchyChanged in interface HierarchyListener
createEntityStatsWorker
protected abstract BaseHibernateRuntimeStatsPanel.EntityStatsWorker createEntityStatsWorker()
updateEntityStats
protected void updateEntityStats()
createCollectionStatsWorker
protected abstract BaseHibernateRuntimeStatsPanel.CollectionStatsWorker createCollectionStatsWorker()
createQueryStatsWorker
protected abstract BaseHibernateRuntimeStatsPanel.QueryStatsWorker createQueryStatsWorker()
handleNotification
public void handleNotification(Notification notif,
Object handBack)
- Specified by:
handleNotification in interface NotificationListener
tearDown
public void tearDown()
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.