Package org.apache.cayenne.remote.hessian.service

## Class HessianUtil

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

-     public class HessianUtil
      extends Object

  Hessian related utilities.
  Since:
    1.2

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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`