org.springframework.data.neo4j.repository
Class GraphRepositoryFactoryBean<S extends org.neo4j.graphdb.PropertyContainer,R extends CRUDRepository<T>,T>
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<R,T,Long>
org.springframework.data.neo4j.repository.GraphRepositoryFactoryBean<S,R,T>
- All Implemented Interfaces:
- BeanFactoryAware, FactoryBean<R>, InitializingBean, org.springframework.data.repository.core.support.RepositoryFactoryInformation<T,Long>
public class GraphRepositoryFactoryBean<S extends org.neo4j.graphdb.PropertyContainer,R extends CRUDRepository<T>,T>
- extends org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<R,T,Long>
- Since:
- 28.03.11
- Author:
- mh
Methods inherited from class org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport |
createRepositoryFactory, setBeanFactory, setTransactionManager |
Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport |
getEntityInformation, getObject, getObjectType, getRepositoryInterface, isSingleton, setCustomImplementation, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphRepositoryFactoryBean
public GraphRepositoryFactoryBean()
setNeo4jTemplate
public void setNeo4jTemplate(Neo4jTemplate template)
setMappingContext
public void setMappingContext(Neo4jMappingContext mappingContext)
- Parameters:
mappingContext
- the mappingContext to set
doCreateRepositoryFactory
protected org.springframework.data.repository.core.support.RepositoryFactorySupport doCreateRepositoryFactory()
- Specified by:
doCreateRepositoryFactory
in class org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<R extends CRUDRepository<T>,T,Long>
createRepositoryFactory
protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory(Neo4jTemplate template)
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Overrides:
afterPropertiesSet
in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<R extends CRUDRepository<T>,T,Long>
Copyright © 2011 SpringSource. All Rights Reserved.