protected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key) {
return new QueryLookupStrategy() {
@Override
public RepositoryQuery resolveQuery(Method method, RepositoryMetadata repositoryMetadata, NamedQueries namedQueries) {
final GraphQueryMethod queryMethod = new GraphQueryMethod(method,repositoryMetadata,namedQueries,mappingContext);
return queryMethod.createQuery(GraphRepositoryFactory.this.template);
}
};
}