Spring Data Graph

org.springframework.data.neo4j.repository
Class GraphRepositoryFactory

java.lang.Object
  extended by org.springframework.data.repository.core.support.RepositoryFactorySupport
      extended by org.springframework.data.neo4j.repository.GraphRepositoryFactory

public class GraphRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport

Since:
28.03.11
Author:
mh

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
 
Constructor Summary
GraphRepositoryFactory(GraphDatabaseContext graphDatabaseContext)
           
 
Method Summary
<T,ID extends Serializable>
org.springframework.data.repository.core.EntityInformation<T,ID>
getEntityInformation(Class<T> type)
           
protected  org.springframework.data.repository.query.QueryLookupStrategy getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key)
           
protected  Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata)
           
protected  Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata)
           
protected  Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata, GraphDatabaseContext graphDatabaseContext)
           
 
Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addQueryCreationListener, addRepositoryProxyPostProcessor, getRepository, getRepository, setNamedQueries, setQueryLookupStrategyKey, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphRepositoryFactory

public GraphRepositoryFactory(GraphDatabaseContext graphDatabaseContext)
Method Detail

getTargetRepository

protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata)
Specified by:
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupport

getTargetRepository

protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata,
                                     GraphDatabaseContext graphDatabaseContext)

getRepositoryBaseClass

protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata)
Specified by:
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupport

getEntityInformation

public <T,ID extends Serializable> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> type)
Specified by:
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupport

getQueryLookupStrategy

protected org.springframework.data.repository.query.QueryLookupStrategy getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key)
Overrides:
getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupport

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.