Interface PersistenceInstantiator<D>
-
- All Known Implementing Classes:
PersistenceInstantiator.Default
public interface PersistenceInstantiator<D>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceInstantiator.Default<D>
-
Method Summary
Modifier and Type Method Description <T> T
instantiate(Class<T> type, D data)
static <T> T
instantiateBlank(Class<T> type)
static <D> PersistenceInstantiator<D>
New()
-
-
-
Method Detail
-
instantiate
<T> T instantiate(Class<T> type, D data) throws InstantiationRuntimeException
- Throws:
InstantiationRuntimeException
-
instantiateBlank
static <T> T instantiateBlank(Class<T> type)
-
New
static <D> PersistenceInstantiator<D> New()
-
-