edu.princeton.wordnet.orm.hibernate
Class HibernateInterceptor
java.lang.Object
edu.princeton.wordnet.orm.interceptor.Interceptor
edu.princeton.wordnet.orm.hibernate.HibernateInterceptor
public class HibernateInterceptor
- extends Interceptor
Interceptor instrumentation
- Author:
- Bernard Bou
Field Summary |
private static org.apache.log4j.Logger |
LOG
Logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
- Logger
HibernateInterceptor
public HibernateInterceptor()
prologue
public static org.hibernate.Session prologue(Reference thisReference)
throws org.hibernate.HibernateException,
java.io.FileNotFoundException
- Method prologue
- Parameters:
thisReference
- reference
- Returns:
- session
- Throws:
org.hibernate.HibernateException
java.io.FileNotFoundException
epilogue
public static void epilogue(org.hibernate.Session thisSession)
- Method epilogue
- Parameters:
thisSession
- session
prologueReturn
protected java.lang.String prologueReturn()
- Specified by:
prologueReturn
in class Interceptor
prologueClass
protected java.lang.String prologueClass()
- Specified by:
prologueClass
in class Interceptor
importedPackages
protected java.lang.String[] importedPackages()
- Specified by:
importedPackages
in class Interceptor