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, RepositoryFactoryInformation<T,Long>

public class GraphRepositoryFactoryBean<S extends org.neo4j.graphdb.PropertyContainer,R extends CRUDRepository<T>,T>
extends TransactionalRepositoryFactoryBeanSupport<R,T,Long>

Since:
28.03.11
Author:
mh

Constructor Summary
GraphRepositoryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  RepositoryFactorySupport createRepositoryFactory(Neo4jTemplate template)
           
protected  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, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setCustomImplementation, setMappingContext, 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 RepositoryFactorySupport doCreateRepositoryFactory()
Specified by:
doCreateRepositoryFactory in class TransactionalRepositoryFactoryBeanSupport<R extends CRUDRepository<T>,T,Long>

createRepositoryFactory

protected RepositoryFactorySupport createRepositoryFactory(Neo4jTemplate template)

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class RepositoryFactoryBeanSupport<R extends CRUDRepository<T>,T,Long>

Spring Data Neo4j

Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.