Class Neo4jRepositoryFactoryBean<T extends Repository<S,ID>, S, ID extends Serializable>
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.neo4j.repository.support.Neo4jRepositoryFactoryBean<T,S,ID>
- Type Parameters:
T- the type of the repositoryS- type of the domain class to mapID- identifier type in the domain class
- All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, FactoryBean<T>, InitializingBean, ApplicationEventPublisherAware, EnvironmentAware, RepositoryFactoryInformation<S,ID>
@API(status=INTERNAL,
since="6.0")
public final class Neo4jRepositoryFactoryBean<T extends Repository<S,ID>, S, ID extends Serializable>
extends TransactionalRepositoryFactoryBeanSupport<T,S,ID>
Special adapter for Springs
FactoryBean
interface to allow easy setup of repository factories via Spring configuration.- Since:
- 6.0
- Author:
- Michael J. Simons, Gerrit Meier
-
Nested Class Summary
Nested classes/interfaces inherited from class RepositoryFactoryBeanSupport
RepositoryFactoryBeanSupport.FragmentCreationContext, RepositoryFactoryBeanSupport.RepositoryFragmentsFunction -
Field Summary
Fields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Method Summary
Modifier and TypeMethodDescriptionprotected RepositoryFactorySupportvoidsetMappingContext(MappingContext<?, ?> mappingContext) voidsetNeo4jOperations(@Nullable Neo4jOperations neo4jOperations) Methods inherited from class TransactionalRepositoryFactoryBeanSupport
createRepositoryFactory, setBeanFactory, setEnableDefaultTransactions, setTransactionManagerMethods inherited from class RepositoryFactoryBeanSupport
addRepositoryFactoryCustomizer, afterPropertiesSet, createDefaultEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryFragmentsContributor, getRepositoryInformation, setApplicationEventPublisher, setBeanClassLoader, setCustomImplementation, setEnvironment, setEvaluationContextProvider, setExposeMetadata, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments, setRepositoryFragmentsFunctionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingleton
-
Method Details
-
setNeo4jOperations
-
setMappingContext
- Overrides:
setMappingContextin classRepositoryFactoryBeanSupport<T extends Repository<S,ID>, S, ID extends Serializable>
-
doCreateRepositoryFactory
- Specified by:
doCreateRepositoryFactoryin classTransactionalRepositoryFactoryBeanSupport<T extends Repository<S,ID>, S, ID extends Serializable>
-