ehcache

net.sf.ehcache.hibernate.management.impl
Class ProviderMBeanRegistrationHelper

java.lang.Object
  extended by net.sf.ehcache.hibernate.management.impl.ProviderMBeanRegistrationHelper

public class ProviderMBeanRegistrationHelper
extends Object

Helper class for registering mbeans for ehcache backed hibernate second level cache

Author:
Abhishek Sanoujam

Constructor Summary
ProviderMBeanRegistrationHelper()
           
 
Method Summary
 void registerMBean(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
 

Constructor Detail

ProviderMBeanRegistrationHelper

public ProviderMBeanRegistrationHelper()
Method Detail

registerMBean

public void registerMBean(CacheManager manager,
                          Properties properties)
Registers mbean for the input cache manager and the session factory name

Parameters:
manager - the backing cachemanager
properties - session factory config properties

unregisterMBean

public void unregisterMBean()
Unregisters previously registered mbean.


ehcache

Copyright 2001-2017, Terracotta, Inc.