Interface PersistenceRootsProvider<D>
- All Known Subinterfaces:
BinaryPersistenceRootsProvider
- All Known Implementing Classes:
BinaryPersistenceRootsProvider.Default
,ComBinaryPersistenceRootsProvider
,PersistenceRootsProvider.Empty
public interface PersistenceRootsProvider<D>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceRootsProvider.Empty<D>
-
Method Summary
Modifier and Type Method Description static <D> PersistenceRootsProvider<D>
Empty()
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
- the type handler registryobjectRegistry
- the object registry
-
Empty
-