Class HessianUtil

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

public class HessianUtil extends Object
Hessian related utilities.
Since:
1.2
  • 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