Interface PersistenceRootsProvider<D>
- All Known Subinterfaces:
BinaryPersistenceRootsProvider
- All Known Implementing Classes:
BinaryPersistenceRootsProvider.Default
public interface PersistenceRootsProvider<D>
-
Method Summary
Modifier and Type Method Description PersistenceRootspeekRoots()PersistenceRootsprovideRoots()voidregisterRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)Only thePersistenceRootsProviderimplementation can ensure that the handler fits the instance, so it has to do the registering as well.voidupdateRuntimeRoots(PersistenceRoots runtimeRoots)
-
Method Details
-
provideRoots
PersistenceRoots provideRoots() -
peekRoots
PersistenceRoots peekRoots() -
updateRuntimeRoots
-
registerRootsTypeHandlerCreator
void registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)Only thePersistenceRootsProviderimplementation can ensure that the handler fits the instance, so it has to do the registering as well.- Parameters:
typeHandlerRegistry-objectRegistry-
-