Interface SerializerFoundation<F extends SerializerFoundation<?>>
-
- Type Parameters:
F- the foundation type
- All Superinterfaces:
BinaryPersistenceFoundation<F>,ByteOrderTargeting<F>,ByteOrderTargeting.Mutable<F>,one.microstream.util.Cloneable<PersistenceFoundation<Binary,F>>,one.microstream.util.InstanceDispatcher,PersistenceDataTypeHolder<Binary>,PersistenceFoundation<Binary,F>,PersistenceTypeHandlerRegistration.Executor<Binary>
- All Known Implementing Classes:
SerializerFoundation.Default
public interface SerializerFoundation<F extends SerializerFoundation<?>> extends BinaryPersistenceFoundation<F>
This type serves as a factory instance for buildingSerializerinstances. However, it is more than a mere factory as it keeps track of all component instances used in building aSerializerinstance. For example managing parts of an application can use it to access former set ID providers or dictionary providers even after they have been assembled into (and are intentionally hidden in) aPersistenceManagerinstance. Hence it can be seen as a kind of "master instance" of the built persistence layer or as its "foundation".
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSerializerFoundation.Default<F extends SerializerFoundation.Default<?>>-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.ByteOrderTargeting
ByteOrderTargeting.Mutable<T extends ByteOrderTargeting.Mutable<?>>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description SerializerFoundation<F>Clone()one.microstream.collections.types.XEnum<Class<?>>getEntityTypes()SerializerTypeInfoStrategyCreatorgetSerializerTypeInfoStrategyCreator()static SerializerFoundation<?>New()booleanregisterEntityType(Class<?> entityType)FregisterEntityTypes(Class<?>... entityTypes)FregisterEntityTypes(Iterable<Class<?>> entityTypes)FsetEntityTypes(one.microstream.collections.types.XEnum<Class<?>> entityTypes)FsetSerializerTypeInfoStrategyCreator(SerializerTypeInfoStrategyCreator serializerTypeInfoStrategyCreator)-
Methods inherited from interface one.microstream.persistence.binary.types.BinaryPersistenceFoundation
createPersistenceManager, getCustomTranslatorLookup, getTranslatorKeyBuilders, getValueTranslatorMappingProvider, getValueTranslatorProvider, setCustomTranslatorLookup, setTranslatorKeyBuilders, setValueTranslatorMappingProvider, setValueTranslatorProvider
-
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting
getTargetByteOrder, isByteOrderMismatch
-
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting.Mutable
setTargetByteOrder
-
Methods inherited from interface one.microstream.util.InstanceDispatcher
getInstanceDispatcherLogic, setInstanceDispatcherLogic
-
Methods inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
dataType
-
Methods inherited from interface one.microstream.persistence.types.PersistenceFoundation
customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, getAbstractTypeHandlerSearcher, getBufferSizeProvider, getBuilderCreator, getClassLoaderProvider, getContextDispatcher, getCustomTypeHandlerRegistry, getCustomTypeHandlerRegistryEnsurer, getFieldEvaluatorCollection, getFieldEvaluatorEnum, getFieldEvaluatorPersistable, getFieldEvaluatorPersister, getFieldFixedLengthResolver, getInstantiator, getInstantiatorProvider, getLambdaTypeRecognizer, getLegacyMemberMatchingProvider, getLegacyTypeHandlerCreator, getLegacyTypeHandlingListener, getLegacyTypeMapper, getLegacyTypeMappingResultor, getObjectIdProvider, getObjectManager, getObjectRegistry, getPersistenceSource, getPersistenceTarget, getPersister, getRefactoringCurrentMemberIdentifierBuilders, getRefactoringLegacyMemberIdentifierBuilders, getRefactoringLegacyTypeIdentifierBuilders, getRefactoringMappingProvider, getReferenceFieldEagerEvaluator, getRegistererCreator, getRootReferenceProvider, getRootResolverProvider, getRootsProvider, getSizedArrayLengthController, getStorerCreationObserver, getStorerCreator, getTypeAnalyzer, getTypeDefinitionCreator, getTypeDescriptionResolverProvider, getTypeDictionaryAssembler, getTypeDictionaryBuilder, getTypeDictionaryCompiler, getTypeDictionaryCreator, getTypeDictionaryExporter, getTypeDictionaryLoader, getTypeDictionaryManager, getTypeDictionaryParser, getTypeDictionaryProvider, getTypeDictionaryStorer, getTypeEvaluatorPersistable, getTypeHandlerCreator, getTypeHandlerEnsurer, getTypeHandlerManager, getTypeHandlerProvider, getTypeHandlerRegistry, getTypeIdProvider, getTypeLineageCreator, getTypeManager, getTypeMismatchValidator, getTypeNameMapper, getTypeRegistry, getTypeResolver, getTypeSimilarity, getUnreachableTypeHandlerCreator, registerCustomInstantiator, registerCustomTypeHandler, registerCustomTypeHandlers, registerCustomTypeHandlers, registerCustomTypeHandlers, setAbstractTypeHandlerSearcher, setBufferSizeProvider, setBuilderCreator, setClassLoaderProvider, setContextDispatcher, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldEvaluatorPersister, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectIdProvider, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setPersister, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, setRootReferenceProvider, setRootResolverProvider, setRootsProvider, setSizedArrayLengthController, setStorerCreationObserver, setStorerCreator, setTypeAnalyzer, setTypeDescriptionBuilder, setTypeDescriptionResolverProvider, setTypeDictionaryAssembler, setTypeDictionaryBuilder, setTypeDictionaryCompiler, setTypeDictionaryCreator, setTypeDictionaryExporter, setTypeDictionaryIoHandler, setTypeDictionaryIoHandling, setTypeDictionaryLoader, setTypeDictionaryManager, setTypeDictionaryParser, setTypeDictionaryProvider, setTypeDictionaryStorer, setTypeEvaluatorPersistable, setTypeHandlerCreator, setTypeHandlerCreatorLookup, setTypeHandlerManager, setTypeHandlerProvider, setTypeHandlerRegistry, setTypeIdProvider, setTypeLineageCreator, setTypeManager, setTypeMismatchValidator, setTypeNameMapper, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerRegistration.Executor
executeTypeHandlerRegistration
-
-
-
-
Method Detail
-
Clone
SerializerFoundation<F> Clone()
- Specified by:
Clonein interfaceBinaryPersistenceFoundation<F extends SerializerFoundation<?>>- Specified by:
Clonein interfaceone.microstream.util.Cloneable<F extends SerializerFoundation<?>>- Specified by:
Clonein interfacePersistenceFoundation<Binary,F extends SerializerFoundation<?>>
-
getSerializerTypeInfoStrategyCreator
SerializerTypeInfoStrategyCreator getSerializerTypeInfoStrategyCreator()
-
setSerializerTypeInfoStrategyCreator
F setSerializerTypeInfoStrategyCreator(SerializerTypeInfoStrategyCreator serializerTypeInfoStrategyCreator)
-
getEntityTypes
one.microstream.collections.types.XEnum<Class<?>> getEntityTypes()
-
registerEntityType
boolean registerEntityType(Class<?> entityType)
-
New
static SerializerFoundation<?> New()
-
-