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 classPersistenceRootsProvider.Empty<D> -
Method Summary
Modifier and Type Method Description static <D> PersistenceRootsProvider<D>Empty()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- the type handler registryobjectRegistry- the object registry
-
Empty
-