Spring Data Neo4j

org.springframework.data.neo4j.repository
Class GraphRepositoryFactoryBean<S extends org.neo4j.graphdb.PropertyContainer,R extends CRUDRepository<T>,T>

java.lang.Object
  extended by org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
      extended by org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<R,T,Long>
          extended by org.springframework.data.neo4j.repository.GraphRepositoryFactoryBean<S,R,T>
All Implemented Interfaces:
Aware, 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

Constructor Summary
GraphRepositoryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory(Neo4jTemplate template)
           
protected  org.springframework.data.repository.core.support.RepositoryFactorySupport doCreateRepositoryFactory()
           
 void setNeo4jMappingContext(Neo4jMappingContext neo4jMappingContext)
           
 void setNeo4jTemplate(Neo4jTemplate template)
           
 
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, getQueryMethods, getRepositoryInformation, isSingleton, setCustomImplementation, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphRepositoryFactoryBean

public GraphRepositoryFactoryBean()
Method Detail

setNeo4jTemplate

public void setNeo4jTemplate(Neo4jTemplate template)

setNeo4jMappingContext

public void setNeo4jMappingContext(Neo4jMappingContext neo4jMappingContext)
Parameters:
neo4jMappingContext - 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>

Spring Data Neo4j

Copyright © 2012 SpringSource. All Rights Reserved.