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,
Properties properties)
Registers MBean for the input manager and session factory properties.
|
void registerMBeanForCacheManager(net.sf.ehcache.CacheManager manager, Properties properties) throws Exception
manager
- the CacheManager
to register the MBean forproperties
- properties to used to create the associated SessionFactory
Exception
- reflecting the source of the problem registering the MBeanvoid enableHibernateStatisticsSupport(SessionFactory sessionFactory)
sessionFactory
- the SessionFactory
to enable stats forCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.