@groovy.transform.InheritConstructors class Neo4jDataStoreSpringInitializer extends AbstractDatastoreInitializer
An AbstractDatastoreInitializer used for initializing GORM for Neo4j when using Spring. If you are not using the Spring container then using the constructors of Neo4jDatastore is preferable
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DATASTORE_TYPE |
|
protected groovy.lang.Closure |
defaultMapping |
Fields inherited from class | Fields |
---|---|
class AbstractDatastoreInitializer |
ENTITY_CLASS_RESOURCE_PATTERN, OSIV_CLASS_NAME, TRANSACTION_MANAGER_BEAN, classLoader, configuration, originalConfiguration, packages, persistentClasses, registerApplicationIfNotPresent, resourcePatternResolver, secondaryDatastore |
Constructor and description |
---|
Neo4jDataStoreSpringInitializer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
groovy.lang.Closure |
getBeanDefinitions(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry) |
|
protected java.lang.Class<AbstractDatastorePersistenceContextInterceptor> |
getPersistenceInterceptorClass() |
|
protected boolean |
isMappedClass(java.lang.String datastoreType, java.lang.Class cls) |
|
void |
setDefaultMapping(groovy.lang.Closure defaultMapping) Sets the default Neo4j GORM mapping configuration |
Sets the default Neo4j GORM mapping configuration