Interface EntityInstantiatorSource
- All Known Implementing Classes:
EntityInstantiators
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface declaring a source for
EntityInstantiator
objects.- Since:
- 4.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiongetInstantiatorFor
(PersistentEntity<?, ?> entity) Returns anEntityInstantiator
for the givenPersistentEntity
.
-
Method Details
-
getInstantiatorFor
Returns anEntityInstantiator
for the givenPersistentEntity
.- Returns:
- the
EntityInstantiator
for the givenPersistentEntity
.
-