public interface PersistenceRootsProvider<D>
| Modifier and Type | Interface and Description |
|---|---|
static class |
PersistenceRootsProvider.Empty<D> |
| Modifier and Type | Method and Description |
|---|---|
static <D> PersistenceRootsProvider<D> |
Empty() |
PersistenceRoots |
peekRoots() |
PersistenceRoots |
provideRoots() |
void |
registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry,
PersistenceObjectRegistry objectRegistry)
Only the
PersistenceRootsProvider implementation can ensure that the handler fits the instance,
so it has to do the registering as well. |
void |
updateRuntimeRoots(PersistenceRoots runtimeRoots) |
PersistenceRoots provideRoots()
PersistenceRoots peekRoots()
void updateRuntimeRoots(PersistenceRoots runtimeRoots)
void registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)
PersistenceRootsProvider implementation can ensure that the handler fits the instance,
so it has to do the registering as well.typeHandlerRegistry - the type handler registryobjectRegistry - the object registrystatic <D> PersistenceRootsProvider<D> Empty()
Copyright © 2022 MicroStream Software. All rights reserved.