Example usage for org.hibernate EmptyInterceptor subclass-usage

List of usage examples for org.hibernate EmptyInterceptor subclass-usage

Introduction

In this page you can find the example usage for org.hibernate EmptyInterceptor subclass-usage.

Usage

From source file gov.nih.nci.logging.api.logger.hibernate.ObjectStateInterceptor.java

/**
 * 
 * This class intercepts all the related events when the client application
 * performs the persistence such as save, udpate and delete. Also it generate
 * the audit information about the states of the entity object in different
 * stages.

From source file gov.nih.nci.protexpress.data.interceptor.ProtExpressHibernateInterceptor.java

/**
 * Interceptor for prot express.
 *
 * @author Scott Miller
 */
public class ProtExpressHibernateInterceptor extends EmptyInterceptor {

From source file hibernate.interceptors.ManualsInterceptor.java

/**
 *
 * @author Andriy
 */
public class ManualsInterceptor extends EmptyInterceptor {

From source file interceptor.EntityInterceptor.java

/**
 *
 * @author Rice Pavel
 */
public class EntityInterceptor extends EmptyInterceptor {

From source file io.github.jonestimd.finance.dao.hibernate.DomainEventInterceptor.java

public class DomainEventInterceptor extends EmptyInterceptor implements DomainEventRecorder {
    private final Supplier<EventHandlerEventHolder> handlerSupplier;
    private ThreadLocal<EventHandlerEventHolder> eventHandlerHolder = new ThreadLocal<>();

    public DomainEventInterceptor(Supplier<EventHandlerEventHolder> handlerSupplier) {
        this.handlerSupplier = handlerSupplier;

From source file io.github.jonestimd.hibernate.AuditInterceptor.java

public class AuditInterceptor extends EmptyInterceptor {
    private ThreadLocal<Date> changeDateHolder = new ThreadLocal<Date>();
    private ThreadLocal<String> changeUserHolder = new ThreadLocal<String>();

    public void afterTransactionBegin(Transaction tx) {
        super.afterTransactionBegin(tx);

From source file io.github.jonestimd.hibernate.InterceptorChain.java

public class InterceptorChain extends EmptyInterceptor {
    private final List<Interceptor> chain;

    public InterceptorChain(Interceptor... chain) {
        this.chain = Arrays.asList(chain);
    }

From source file kr.debop4j.data.hibernate.interceptor.LoggingInterceptor.java

/**
 * ? ?   ?  ? DB?  ?.
 *
 * @author ? ( sunghyouk.bae@gmail.com )
 * @since 12. 12. 16.
 */

From source file kr.debop4j.data.hibernate.interceptor.MultiInterceptor.java

/**
 *  ? Interceptor? ? ??  Interceptor. (? Interceptor  ? ? )
 *
 * @author ? ( sunghyouk.bae@gmail.com )
 * @since 12. 9. 23.
 */

From source file kr.debop4j.data.hibernate.interceptor.StatefulEntityInterceptor.java

/**
 * ? ?   Interceptor.
 *
 * @author ? ( sunghyouk.bae@gmail.com )
 * @since 12. 11. 21.
 */