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