Class HibernateStatisticsService

java.lang.Object
io.meeds.common.persistence.HibernateStatisticsService
All Implemented Interfaces:
org.exoplatform.container.component.ComponentRequestLifecycle, org.picocontainer.Startable

public class HibernateStatisticsService extends Object implements org.picocontainer.Startable, org.exoplatform.container.component.ComponentRequestLifecycle
  • Constructor Details

    • HibernateStatisticsService

      public HibernateStatisticsService(org.exoplatform.container.ExoContainer container, EntityManagerService entityManagerService, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
    • startRequest

      public void startRequest(org.exoplatform.container.ExoContainer container)
      Specified by:
      startRequest in interface org.exoplatform.container.component.ComponentRequestLifecycle
    • endRequest

      public void endRequest(org.exoplatform.container.ExoContainer container)
      Specified by:
      endRequest in interface org.exoplatform.container.component.ComponentRequestLifecycle
    • isStarted

      public boolean isStarted(org.exoplatform.container.ExoContainer container)
      Specified by:
      isStarted in interface org.exoplatform.container.component.ComponentRequestLifecycle
    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()
    • setLogResult

      public void setLogResult(boolean logResult)
    • isLogResult

      public boolean isLogResult()
    • addIgnoredMatch

      public void addIgnoredMatch(String queryMatch)
    • getSessionFactory

      public org.hibernate.engine.spi.SessionFactoryImplementor getSessionFactory()