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