public interface EhcacheHibernateMBeanRegistration
Modifier and Type | Method and Description |
---|---|
void |
enableHibernateStatisticsSupport(SessionFactory sessionFactory)
Enable hibernate statistics in the mbean.
|
void |
registerMBeanForCacheManager(net.sf.ehcache.CacheManager manager,
java.util.Properties properties)
Registers MBean for the input manager and session factory properties.
|
void registerMBeanForCacheManager(net.sf.ehcache.CacheManager manager, java.util.Properties properties) throws java.lang.Exception
manager
- the CacheManager
to register the MBean forproperties
- properties to used to create the associated SessionFactory
java.lang.Exception
- reflecting the source of the problem registering the MBeanvoid enableHibernateStatisticsSupport(SessionFactory sessionFactory)
sessionFactory
- the SessionFactory
to enable stats forCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.