Class HessianUtil
java.lang.Object
org.apache.cayenne.remote.hessian.service.HessianUtil
Hessian related utilities.
- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
cloneViaClientServerSerialization
(Serializable object, EntityResolver serverResolver) A utility method that clones an object using Hessian serialization/deserialization mechanism, which is different from default Java serialization.static Object
cloneViaServerClientSerialization
(Serializable object, EntityResolver serverResolver)
-
Method Details
-
cloneViaClientServerSerialization
public static Object cloneViaClientServerSerialization(Serializable object, EntityResolver serverResolver) throws Exception A utility method that clones an object using Hessian serialization/deserialization mechanism, which is different from default Java serialization.- Throws:
Exception
-
cloneViaServerClientSerialization
public static Object cloneViaServerClientSerialization(Serializable object, EntityResolver serverResolver) throws Exception - Throws:
Exception
-