Package | Description |
---|---|
org.springframework.data.convert |
General purpose conversion framework to read objects from a data store abstraction and write it back.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassGeneratingEntityInstantiator
An
EntityInstantiator that can generate byte code to speed-up dynamic object instantiation. |
class |
KotlinClassGeneratingEntityInstantiator
Kotlin-specific extension to
ClassGeneratingEntityInstantiator that adapts Kotlin constructors with
defaulting. |
class |
ReflectionEntityInstantiator
EntityInstantiator that uses the PersistentEntity 's PreferredConstructor to instantiate an
instance of the entity via reflection. |
Modifier and Type | Method and Description |
---|---|
protected EntityInstantiator |
KotlinClassGeneratingEntityInstantiator.doCreateEntityInstantiator(PersistentEntity<?,?> entity) |
protected EntityInstantiator |
ClassGeneratingEntityInstantiator.doCreateEntityInstantiator(PersistentEntity<?,?> entity) |
EntityInstantiator |
EntityInstantiators.getInstantiatorFor(PersistentEntity<?,?> entity)
Returns the
EntityInstantiator to be used to create the given PersistentEntity . |
Constructor and Description |
---|
EntityInstantiators(EntityInstantiator fallback)
Creates a new
EntityInstantiators using the given EntityInstantiator as fallback. |
EntityInstantiators(EntityInstantiator defaultInstantiator,
Map<Class<?>,EntityInstantiator> customInstantiators)
Creates a new
EntityInstantiator using the given fallback EntityInstantiator and the given custom
ones. |
Constructor and Description |
---|
EntityInstantiators(EntityInstantiator defaultInstantiator,
Map<Class<?>,EntityInstantiator> customInstantiators)
Creates a new
EntityInstantiator using the given fallback EntityInstantiator and the given custom
ones. |
EntityInstantiators(Map<Class<?>,EntityInstantiator> customInstantiators)
Creates a new
EntityInstantiators using the default fallback instantiator and the given custom ones. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.