|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.derquinse.common.test.HessianSerializabilityTests
public final class HessianSerializabilityTests
Hessian serializability support methods.
| Method Summary | ||
|---|---|---|
static void |
both(Serializable obj)
Checks serializability of one object and equality of the provided instance and the deserialized one using both Hessian 1 and 2. |
|
static void |
both(Serializable obj,
boolean equality)
Checks serializability of one object and (if desired) equality of the provided instance and the deserialized one using both Hessian 1 and 2. |
|
static
|
hessian1(T obj)
Checks serializability of one object and equality of the provided instance and the deserialized one using Hessian 1. |
|
static
|
hessian1(T obj,
boolean equality)
Checks serializability of one object and (if desired) equality of the provided instance and the deserialized one using Hessian 1. |
|
static
|
hessian2(T obj)
Checks serializability of one object and equality of the provided instance and the deserialized one using Hessian 2. |
|
static
|
hessian2(T obj,
boolean equality)
Checks serializability of one object and (if desired) equality of the provided instance and the deserialized one using Hessian 2. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends Serializable> T hessian1(T obj,
boolean equality)
throws UnableToSerializeException
obj - Object to test.equality - Whether to test for equality.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static <T extends Serializable> T hessian1(T obj)
throws UnableToSerializeException
obj - Object to test.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static <T extends Serializable> T hessian2(T obj,
boolean equality)
throws UnableToSerializeException
obj - Object to test.equality - Whether to test for equality.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static <T extends Serializable> T hessian2(T obj)
throws UnableToSerializeException
obj - Object to test.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static void both(Serializable obj,
boolean equality)
throws UnableToSerializeException
obj - Object to test.equality - Whether to test for equality.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static void both(Serializable obj)
throws UnableToSerializeException
obj - Object to test.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||