Class PersistenceInstantiator.Default<D>
java.lang.Object
one.microstream.persistence.types.PersistenceInstantiator.Default<D>
- All Implemented Interfaces:
PersistenceInstantiator<D>
,PersistenceTypeInstantiatorProvider<D>
- Enclosing interface:
- PersistenceInstantiator<D>
public static final class PersistenceInstantiator.Default<D> extends Object implements PersistenceInstantiator<D>, PersistenceTypeInstantiatorProvider<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceInstantiator
PersistenceInstantiator.Default<D>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeInstantiatorProvider
PersistenceTypeInstantiatorProvider.Default<D>, PersistenceTypeInstantiatorProvider.Mapped<D>
-
Method Summary
Modifier and Type Method Description <T> T
instantiate(Class<T> type, D data)
<T> PersistenceTypeInstantiator<D,T>
provideTypeInstantiator(Class<T> type)
-
Method Details
-
instantiate
- Specified by:
instantiate
in interfacePersistenceInstantiator<D>
- Throws:
InstantiationRuntimeException
-
provideTypeInstantiator
- Specified by:
provideTypeInstantiator
in interfacePersistenceTypeInstantiatorProvider<D>
-