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