@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public class DocumentMappingContext extends AbstractMappingContext
Models a MappingContext for a Document store.
Modifiers | Name | Description |
---|---|---|
protected java.lang.String |
defaultDatabaseName |
|
protected MappingFactory<Collection, Attribute> |
mappingFactory |
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 |
Constructor and description |
---|
DocumentMappingContext(java.lang.String defaultDatabaseName, ConnectionSourceSettings settings) |
DocumentMappingContext(java.lang.String defaultDatabaseName) |
DocumentMappingContext(java.lang.String defaultDatabaseName, groovy.lang.Closure defaultMapping) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected MappingFactory |
createDocumentMappingFactory(groovy.lang.Closure defaultMapping) |
|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass, boolean external) |
|
public java.lang.String |
getDefaultDatabaseName() |
|
public groovy.lang.Closure |
getDefaultMapping() |
|
public MappingFactory<Collection, Attribute> |
getMappingFactory() |
|
public MappingConfigurationStrategy |
getMappingSyntaxStrategy() |
|
protected void |
initialize(ConnectionSourceSettings settings) |