org.apache.cayenne.remote.hessian.service
Class HessianUtil

java.lang.Object
  extended by org.apache.cayenne.remote.hessian.service.HessianUtil

public final class HessianUtil
extends Object

Hessian related utilities.

Since:
1.2

Method Summary
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.