@groovy.transform.CompileStatic class RestClientMappingContext extends AbstractMappingContext
A MappingContext for REST Client applications
Fields inherited from class | Fields |
---|---|
class AbstractMappingContext |
CONFIGURATION_PREFIX, GROOVY_PROXY_FACTORY_NAME, JAVASIST_PROXY_FACTORY, conversionService, entityValidators, eventListeners, persistentEntities, persistentEntitiesByDiscriminator, persistentEntitiesByName, persistentEntitiesByParent, proxyFactory, validatorRegistry |
Type | Name and description |
---|---|
org.bson.codecs.configuration.CodecRegistry |
codecRegistry |
RestClientMappingFactory |
mappingFactory |
MappingConfigurationStrategy |
mappingSyntaxStrategy |
Constructor and description |
---|
RestClientMappingContext
(java.lang.Class... classes) |
RestClientMappingContext
(org.springframework.core.env.PropertyResolver configuration, java.lang.Class... classes) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addCodec(org.bson.codecs.Codec codec) Adds a new codec |
|
void |
configure(org.springframework.core.env.PropertyResolver configuration) |
|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
<T> |
org.bson.codecs.Codec<T> |
get(java.lang.Class<T> clazz, org.bson.codecs.configuration.CodecRegistry registry) |
|
RestEndpointPersistentEntity |
getPersistentEntity(java.lang.String name) |
Adds a new codec
codec
- The codec