org.hibernate.cache.ehcache.management.impl
Class ProviderMBeanRegistrationHelper
java.lang.Object
org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper
public class ProviderMBeanRegistrationHelper
- extends Object
Helper class for registering mbeans for ehcache backed hibernate second level cache
Method Summary |
void |
registerMBean(net.sf.ehcache.CacheManager manager,
Properties properties)
Registers mbean for the input cache manager and the session factory name |
void |
unregisterMBean()
Unregisters previously registered mbean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderMBeanRegistrationHelper
public ProviderMBeanRegistrationHelper()
registerMBean
public void registerMBean(net.sf.ehcache.CacheManager manager,
Properties properties)
- Registers mbean for the input cache manager and the session factory name
- Parameters:
manager
- the backing cachemanagerproperties
- session factory config properties
unregisterMBean
public void unregisterMBean()
- Unregisters previously registered mbean.
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.