Class InterceptorFactoryImpl
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.listener.InterceptorFactoryImpl
- All Implemented Interfaces:
InterceptorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.InterceptorcreateInterceptor(boolean forNestedSession) Creates anInterceptorfor aSession
-
Constructor Details
-
InterceptorFactoryImpl
-
-
Method Details
-
createInterceptor
public org.hibernate.Interceptor createInterceptor(boolean forNestedSession) Description copied from interface:InterceptorFactoryCreates anInterceptorfor aSession- Specified by:
createInterceptorin interfaceInterceptorFactory- Parameters:
forNestedSession- if it is a nested session (used in event listeners)- Returns:
- the interceptor
-