Class InterceptorFactoryImpl

java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.listener.InterceptorFactoryImpl
All Implemented Interfaces:
InterceptorFactory

@Component public class InterceptorFactoryImpl extends Object implements InterceptorFactory
  • Constructor Details

  • Method Details

    • createInterceptor

      public org.hibernate.Interceptor createInterceptor(boolean forNestedSession)
      Description copied from interface: InterceptorFactory
      Creates an Interceptor for a Session
      Specified by:
      createInterceptor in interface InterceptorFactory
      Parameters:
      forNestedSession - if it is a nested session (used in event listeners)
      Returns:
      the interceptor