Example usage for org.hibernate SessionFactoryObserver interface-usage

List of usage examples for org.hibernate SessionFactoryObserver interface-usage

Introduction

In this page you can find the example usage for org.hibernate SessionFactoryObserver interface-usage.

Usage

From source file com.googlecode.hibernate.audit.listener.AuditSessionFactoryObserver.java

public class AuditSessionFactoryObserver implements SessionFactoryObserver {
    private static final Logger log = LoggerFactory.getLogger(AuditSessionFactoryObserver.class);
    private static final Map<SessionFactory, AuditConfiguration> CONFIGURATION_MAP = new ConcurrentReferenceHashMap<SessionFactory, AuditConfiguration>(
            16, ConcurrentReferenceHashMap.ReferenceType.WEAK, ConcurrentReferenceHashMap.ReferenceType.STRONG);

    private AuditConfiguration auditConfiguration;

From source file org.broadleafcommerce.openadmin.server.dao.SessionFactoryChangeListener.java

/**
 * Clear the static entity metadata caches from {@code DynamicEntityDao}
 * upon recycling of the session factory.
 *
 * @author jfischer
 */

From source file org.openeos.hibernate.internal.configurators.ObserverConfigurator.java

public class ObserverConfigurator implements Configurator, SessionFactoryObserver {

    private static final Logger LOG = LoggerFactory.getLogger(ObserverConfigurator.class);

    private static final long serialVersionUID = 1L;

From source file org.openeos.hibernate.internal.observers.DialectPublisherObserver.java

public class DialectPublisherObserver implements SessionFactoryObserver {

    private static final Logger LOG = LoggerFactory.getLogger(DialectPublisherObserver.class);

    private static final long serialVersionUID = 1L;

From source file org.openeos.hibernate.internal.observers.ListenerObserver.java

public class ListenerObserver implements SessionFactoryObserver {

    private static final Logger LOG = LoggerFactory.getLogger(ListenerObserver.class);

    private static final long serialVersionUID = 1L;

From source file org.sparkcommerce.openadmin.server.dao.SessionFactoryChangeListener.java

/**
 * Clear the static entity metadata caches from {@code DynamicEntityDao}
 * upon recycling of the session factory.
 *
 * @author jfischer
 */