Package org.javers.core.graph
Interface ObjectAccessHook<T>
-
public interface ObjectAccessHook<T>
Object access hook
Used for accessing object before commit. i.e. to unproxy hibernate object before comparison Needs to be idempotent because JaVers could call it more than once during diff.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ObjectAccessProxy<T>>
createAccessor(T entity)
Return object wrapper, possibly without proxy initialization
-
-
-
Method Detail
-
createAccessor
java.util.Optional<ObjectAccessProxy<T>> createAccessor(T entity)
Return object wrapper, possibly without proxy initialization
-
-