List of usage examples for org.hibernate.event.spi PostInsertEventListener interface-usage
From source file at.molindo.esi4j.module.hibernate.HibernateEventListener.java
public class HibernateEventListener implements PostDeleteEventListener, PostInsertEventListener, PostUpdateEventListener { private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(HibernateEventListener.class); private static final long serialVersionUID = 1L;
From source file com.corundumstudio.hibernate.dsc.QueryCacheEntityListener.java
public class QueryCacheEntityListener implements PostInsertEventListener, PostDeleteEventListener, PostUpdateEventListener { private static final long serialVersionUID = 5902147771442167289L; private final ConcurrentMap<Class<?>, ConcurrentMap<String, QueryListenerEntry>> map = new ConcurrentHashMap<Class<?>, ConcurrentMap<String, QueryListenerEntry>>();
From source file com.googlecode.hibernate.audit.listener.AuditListener.java
public class AuditListener implements PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener, PreCollectionUpdateEventListener, PreCollectionRemoveEventListener, PostCollectionRecreateEventListener { private static final Logger log = LoggerFactory.getLogger(AuditListener.class); private AuditConfiguration auditConfiguration; private boolean recordEmptyCollectionsOnInsert = true;
From source file com.invariantproperties.sandbox.springentitylistener.listener.HibernateEntityListenersAdapter.java
/**
* Adapter that allows a Hibernate event listener to call a standard JPA
* EntityListener.
*
* For simplicity only a single bean of each class is supported. It is not
* difficult to support multiple beans, just messy.
From source file de.dktk.dd.rpb.portal.audit.AuditLogListener.java
/**
* AuditLogListener
*
* This listener implements auditing for CRUD entity operations
*
* @author tomas@skripcak.net
From source file debop4k.data.orm.hibernate.listener.PersistentObjectListener.java
/**
* {@link PersistentObject}? , ? ? ? ? .
* <p>
* Listener {@link org.hibernate.Interceptor} Listener ? Listener .
*
* @author sunghyouk.bae@gmail.com
From source file es.logongas.ix3.dao.impl.rules.EventListenerImplRuleEngine.java
/** * Lanza el sistema de reglas en las entidades de Hibernate * * @author logongas */ public class EventListenerImplRuleEngine
From source file org.audit4j.integration.hibernate.listener.AuditPostInsertEventListenerImpl.java
/** * The Class AuditPostInsertEventListenerImpl. * * @author <a href="mailto:janith3000@gmail.com">Janith Bandara</a> */ public class AuditPostInsertEventListenerImpl extends BaseAuditEventListener implements PostInsertEventListener {
From source file org.cgiar.ccafs.marlo.data.HibernateAuditLogListener.java
/**
* Most of the code here was previously in a Hibernate Interceptor but has been refactored to use Hibernate
* Event Listener framework. The Listeners need to be registered in the Hibernate
* Configuration for the callback methods to work.
*
* @author Christian Garcia, Grant Lay
From source file org.flowerplatform.web.security.sandbox.SecurityEntityListener.java
/**
* Responsibility of this class is to listen for modifications
* of entities like permissions, users, groups and organizations
* and to clear the caches of {@link FlowerWebPolicy} accordingly.
*
* @author Cristi