com.jtri.events
Class DefaultInterceptor

java.lang.Object
  extended byorg.hibernate.EmptyInterceptor
      extended bycom.jtri.events.DefaultInterceptor
All Implemented Interfaces:
org.hibernate.Interceptor, java.io.Serializable, SessionInterceptor

public class DefaultInterceptor
extends org.hibernate.EmptyInterceptor
implements SessionInterceptor

Default implementation of SessionInterceptor.

Author:
atorres
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.EmptyInterceptor
INSTANCE
 
Constructor Summary
DefaultInterceptor()
           
 
Method Summary
 void disposeSession()
           
 org.hibernate.Session getSession()
           
 void setSession(org.hibernate.Session sess)
           
 
Methods inherited from class org.hibernate.EmptyInterceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onDelete, onFlushDirty, onLoad, onSave, postFlush, preFlush
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.Interceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onDelete, onFlushDirty, onLoad, onSave, postFlush, preFlush
 

Constructor Detail

DefaultInterceptor

public DefaultInterceptor()
Method Detail

getSession

public org.hibernate.Session getSession()
Specified by:
getSession in interface SessionInterceptor

setSession

public void setSession(org.hibernate.Session sess)
Specified by:
setSession in interface SessionInterceptor

disposeSession

public void disposeSession()
Specified by:
disposeSession in interface SessionInterceptor