Class PersistenceRootResolverProvider.Default
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceRootResolverProvider.Default
-
- All Implemented Interfaces:
PersistenceRootResolverProvider
- Enclosing interface:
- PersistenceRootResolverProvider
public static class PersistenceRootResolverProvider.Default extends Object implements PersistenceRootResolverProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceRootResolverProvider
PersistenceRootResolverProvider.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description String
customRootIdentifier()
String
defaultRootIdentifier()
PersistenceRootResolver
provideRootResolver()
PersistenceRootResolverProvider
registerCustomRootSupplier(String customRootIdentifier, Supplier<?> customRootSupplier)
PersistenceRootResolverProvider
registerDefaultRoot(String defaultRootIdentifier, Reference<Object> defaultRoot)
PersistenceRootResolverProvider
registerRoot(String identifier, Supplier<?> instanceSupplier)
PersistenceRootResolverProvider
setRefactoring(PersistenceRefactoringMappingProvider refactoringMapping)
PersistenceRootResolverProvider
setTypeDescriptionResolverProvider(PersistenceTypeDescriptionResolverProvider typeDescriptionResolverProvider)
PersistenceRootResolverProvider
setTypeHandlerManager(Reference<? extends PersistenceTypeHandlerManager<?>> typeHandlerManager)
Reference<? extends PersistenceTypeHandlerManager<?>>
typeHandlerManager()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceRootResolverProvider
defaultDefaultRoot, defaultDefaultRootIdentifier, hasRootRegistered, registerCustomRoot, registerCustomRoot, registerCustomRootSupplier, registerDefaultRoot, registerRoot, registerRoots
-
-
-
-
Method Detail
-
customRootIdentifier
public String customRootIdentifier()
- Specified by:
customRootIdentifier
in interfacePersistenceRootResolverProvider
-
defaultRootIdentifier
public String defaultRootIdentifier()
- Specified by:
defaultRootIdentifier
in interfacePersistenceRootResolverProvider
-
registerDefaultRoot
public PersistenceRootResolverProvider registerDefaultRoot(String defaultRootIdentifier, Reference<Object> defaultRoot)
- Specified by:
registerDefaultRoot
in interfacePersistenceRootResolverProvider
-
registerCustomRootSupplier
public PersistenceRootResolverProvider registerCustomRootSupplier(String customRootIdentifier, Supplier<?> customRootSupplier)
- Specified by:
registerCustomRootSupplier
in interfacePersistenceRootResolverProvider
-
registerRoot
public final PersistenceRootResolverProvider registerRoot(String identifier, Supplier<?> instanceSupplier)
- Specified by:
registerRoot
in interfacePersistenceRootResolverProvider
-
provideRootResolver
public final PersistenceRootResolver provideRootResolver()
- Specified by:
provideRootResolver
in interfacePersistenceRootResolverProvider
-
setTypeDescriptionResolverProvider
public final PersistenceRootResolverProvider setTypeDescriptionResolverProvider(PersistenceTypeDescriptionResolverProvider typeDescriptionResolverProvider)
- Specified by:
setTypeDescriptionResolverProvider
in interfacePersistenceRootResolverProvider
-
setRefactoring
public final PersistenceRootResolverProvider setRefactoring(PersistenceRefactoringMappingProvider refactoringMapping)
- Specified by:
setRefactoring
in interfacePersistenceRootResolverProvider
-
typeHandlerManager
public Reference<? extends PersistenceTypeHandlerManager<?>> typeHandlerManager()
- Specified by:
typeHandlerManager
in interfacePersistenceRootResolverProvider
-
setTypeHandlerManager
public PersistenceRootResolverProvider setTypeHandlerManager(Reference<? extends PersistenceTypeHandlerManager<?>> typeHandlerManager)
- Specified by:
setTypeHandlerManager
in interfacePersistenceRootResolverProvider
-
-