|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.spring.rmibernate.server.aspects.SerializationInterceptor
public class SerializationInterceptor
Proxy object with EntitySerializer and Intercept writeReplace calls
| Method Summary | |
|---|---|
static void |
clean()
Cleans the processed beans cache |
static java.lang.Object |
getEnhancedObject(java.lang.Object o,
org.hibernate.SessionFactory sessionFactory)
Get proxy object intercepting writeReplace calls |
static java.lang.Object |
getEnhancedObject(java.lang.Object o,
org.hibernate.SessionFactory sessionFactory,
LazyReference lazyRef)
Get proxy object intercepting writeReplace calls |
static HibernateLazyService |
getHibernateLazyService()
Returns the hibernateLazyService. |
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
|
static void |
setHibernateLazyService(HibernateLazyService hibernateLazyService)
Sets the hibernateLazyService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void clean()
public static java.lang.Object getEnhancedObject(java.lang.Object o,
org.hibernate.SessionFactory sessionFactory)
o - object to be proxiedsessionFactory - hibernate sessionfactory
public static java.lang.Object getEnhancedObject(java.lang.Object o,
org.hibernate.SessionFactory sessionFactory,
LazyReference lazyRef)
o - object to be proxiedsessionFactory - hibernate sessionfactorylazyRef - reference to a lazy field
public java.lang.Object intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
throws java.lang.Throwable
intercept in interface net.sf.cglib.proxy.MethodInterceptorjava.lang.Throwablepublic static void setHibernateLazyService(HibernateLazyService hibernateLazyService)
hibernateLazyService - the hibernateLazyService to setpublic static HibernateLazyService getHibernateLazyService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||