Interface EhcacheHibernateMBeanRegistration

    • Method Detail

      • registerMBeanForCacheManager

        void registerMBeanForCacheManager​(CacheManager manager,
                                          java.util.Properties properties)
                                   throws java.lang.Exception
        Registers MBean for the input manager and session factory properties.

        MBeans will be registered based on the input session factory name. If the input name is null or blank, the name of the cache-manager is used

        Parameters:
        manager -
        properties -
        Throws:
        java.lang.Exception
      • enableHibernateStatisticsSupport

        void enableHibernateStatisticsSupport​(org.hibernate.SessionFactory sessionFactory)
        Enable hibernate statistics in the mbean.
        Parameters:
        sessionFactory -