public class PersistentEntitiesBindContextFactory extends Object implements BindContextFactory
BindContextFactory
based on PersistentEntities
.Constructor and Description |
---|
PersistentEntitiesBindContextFactory(PersistentEntities entities)
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(PersistentEntities entities)
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–2022 Pivotal Software, Inc.. All rights reserved.