T
- the type of the repositoryS
- type of the domain class to mapID
- identifier type in the domain class@API(status=INTERNAL, since="6.0") public final class Neo4jRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends TransactionalRepositoryFactoryBeanSupport<T,S,ID>
FactoryBean
interface to allow easy setup of
repository factories via Spring configuration.OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
Neo4jRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
TransactionalRepositoryFactoryBeanSupport for the given repository interface. |
Modifier and Type | Method and Description |
---|---|
protected RepositoryFactorySupport |
doCreateRepositoryFactory() |
void |
setNeo4jMappingContext(Neo4jMappingContext neo4jMappingContext) |
void |
setNeo4jOperations(Neo4jOperations neo4jOperations) |
createRepositoryFactory, setBeanFactory, setEnableDefaultTransactions, setTransactionManager
addRepositoryFactoryCustomizer, afterPropertiesSet, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
protected Neo4jRepositoryFactoryBean(Class<? extends T> repositoryInterface)
TransactionalRepositoryFactoryBeanSupport
for the given repository interface.repositoryInterface
- must not be null.public void setNeo4jOperations(Neo4jOperations neo4jOperations)
public void setNeo4jMappingContext(Neo4jMappingContext neo4jMappingContext)
protected RepositoryFactorySupport doCreateRepositoryFactory()
doCreateRepositoryFactory
in class TransactionalRepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.