org.rhq.enterprise.server.safeinvoker
Class HibernateDetachUtility
java.lang.Object
org.rhq.enterprise.server.safeinvoker.HibernateDetachUtility
public class HibernateDetachUtility
- extends Object
This is a single static utility that is used to process any object just prior to sending it over the wire
to remote clients (like GWT clients or remote web service clients).
Essentially this utility scrubs the object of all Hibernate proxies, cleaning it such that it
can be serialized over the wire successfully.
- Author:
- Greg Hinkle, Jay Shaughnessy, John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDetachUtility
public HibernateDetachUtility()
nullOutUninitializedFields
public static void nullOutUninitializedFields(Object value,
HibernateDetachUtility.SerializationType serializationType)
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.