Interface IObjectChecker
-
- All Known Implementing Classes:
AbstractObjectChecker,DifferentPageChecker,NotDetachedModelChecker,ObjectSerializationChecker,OrphanComponentChecker,SessionChecker
public interface IObjectCheckerIObjectChecker can be used to check whether an object has/has not given state before serializing it. The serialization will be stopped if the object doesn't pass the#check(Object) check.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIObjectChecker.ResultRepresents the result of a check.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IObjectChecker.Resultcheck(java.lang.Object object)Checks an object that it meets some requirements before serializing itjava.util.List<java.lang.Class<?>>getExclusions()
-
-
-
Method Detail
-
check
IObjectChecker.Result check(java.lang.Object object)
Checks an object that it meets some requirements before serializing it- Parameters:
object- the object to check- Returns:
- a Result object describing whether the check is successful or not
-
getExclusions
java.util.List<java.lang.Class<?>> getExclusions()
- Returns:
- A list of types which should not be checked by this checker
-
-