public class PersistentEntitiesBindContextFactory extends Object implements BindContextFactory
BindContextFactory
based on PersistentEntities
.Constructor and Description |
---|
PersistentEntitiesBindContextFactory(org.springframework.data.mapping.context.PersistentEntities entities,
ConversionService conversionService)
Creates a new
PersistentEntitiesBindContextFactory for the given PersistentEntities . |
Modifier and Type | Method and Description |
---|---|
BindContext |
getBindContextFor(com.fasterxml.jackson.databind.ObjectMapper mapper)
Creates a
BindContext for the given ObjectMapper . |
public PersistentEntitiesBindContextFactory(org.springframework.data.mapping.context.PersistentEntities entities, ConversionService conversionService)
PersistentEntitiesBindContextFactory
for the given PersistentEntities
.entities
- must not be null.public BindContext getBindContextFor(com.fasterxml.jackson.databind.ObjectMapper mapper)
BindContextFactory
BindContext
for the given ObjectMapper
.getBindContextFor
in interface BindContextFactory
mapper
- must not be null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.