public class GraphRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
| Constructor and Description |
|---|
GraphRepositoryFactory(Neo4jTemplate template,
Neo4jMappingContext mappingContext)
|
| Modifier and Type | Method and Description |
|---|---|
<T,ID extends Serializable> |
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,
Neo4jTemplate template) |
public GraphRepositoryFactory(Neo4jTemplate template, Neo4jMappingContext mappingContext)
template - must not be null.mappingContext - must not be null.protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata)
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata, Neo4jTemplate template)
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata)
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupportpublic <T,ID extends Serializable> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> type)
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected org.springframework.data.repository.query.QueryLookupStrategy getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key)
getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupportCopyright © 2012 SpringSource. All Rights Reserved.