Class HibernateAbstractStatistics
- java.lang.Object
-
- org.jboss.as.jpa.hibernate.management.HibernateAbstractStatistics
-
- All Implemented Interfaces:
Statistics
- Direct Known Subclasses:
HibernateCollectionStatistics,HibernateEntityCacheStatistics,HibernateEntityStatistics,HibernateQueryCacheStatistics,HibernateStatistics
public abstract class HibernateAbstractStatistics extends Object implements Statistics
HibernateAbstractStatistics- Author:
- Scott Marlow
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>childrenNamesprotected Map<String,Operation>operationsprotected Map<Locale,ResourceBundle>rbsprotected Map<String,Class>typesprotected Set<String>writeableNames
-
Constructor Summary
Constructors Constructor Description HibernateAbstractStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticsgetChild(String childName)Set<String>getChildrenNames()protected jakarta.persistence.EntityManagerFactorygetEntityManagerFactory(Object[] args)protected EntityManagerFactoryAccessgetEntityManagerFactoryAccess(Object[] args)Set<String>getNames()protected PathAddressgetPathAddress(Object[] args)StringgetResourceBundleKeyPrefix()StringgetResourceBundleName()protected StringgetStatisticName(Object[] args)ClassgetType(String name)ObjectgetValue(String name, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)booleanisAttribute(String name)booleanisOperation(String name)booleanisWriteable(String name)voidsetValue(String name, Object newValue, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jipijapa.management.spi.Statistics
getDynamicChildrenNames
-
-
-
-
Method Detail
-
getResourceBundleName
public String getResourceBundleName()
- Specified by:
getResourceBundleNamein interfaceStatistics
-
getResourceBundleKeyPrefix
public String getResourceBundleKeyPrefix()
- Specified by:
getResourceBundleKeyPrefixin interfaceStatistics
-
getEntityManagerFactory
protected jakarta.persistence.EntityManagerFactory getEntityManagerFactory(Object[] args)
-
getNames
public Set<String> getNames()
- Specified by:
getNamesin interfaceStatistics
-
getType
public Class getType(String name)
- Specified by:
getTypein interfaceStatistics
-
isOperation
public boolean isOperation(String name)
- Specified by:
isOperationin interfaceStatistics
-
isAttribute
public boolean isAttribute(String name)
- Specified by:
isAttributein interfaceStatistics
-
isWriteable
public boolean isWriteable(String name)
- Specified by:
isWriteablein interfaceStatistics
-
getValue
public Object getValue(String name, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)
- Specified by:
getValuein interfaceStatistics
-
setValue
public void setValue(String name, Object newValue, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)
- Specified by:
setValuein interfaceStatistics
-
getEntityManagerFactoryAccess
protected EntityManagerFactoryAccess getEntityManagerFactoryAccess(Object[] args)
-
getPathAddress
protected PathAddress getPathAddress(Object[] args)
-
getChildrenNames
public Set<String> getChildrenNames()
- Specified by:
getChildrenNamesin interfaceStatistics
-
getChild
public Statistics getChild(String childName)
- Specified by:
getChildin interfaceStatistics
-
-