Package com.oracle.coherence.repository
Interface EntityFactory<ID,T>
-
- Type Parameters:
ID
- the type of entity's identityT
- the type of entity
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EntityFactory<ID,T> extends Serializable
Provides a way to create entity instances with a known identity.- Since:
- 21.06
- Author:
- Aleks Seovic 2021.02.01
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create(ID id)
Create an entity instance with the specified identity.
-