public class RepositoryFactorySupport.QueryExecutorMethodInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
MethodInterceptor
intercepts calls to methods of the custom implementation and delegates the to it if
configured. Furthermore it resolves method calls to finders and triggers execution of them. You can rely on having
a custom repository implementation instance set if this returns true.Constructor and Description |
---|
QueryExecutorMethodInterceptor(RepositoryInformation repositoryInformation,
Object customImplementation,
Object target)
Creates a new
RepositoryFactorySupport.QueryExecutorMethodInterceptor . |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
public QueryExecutorMethodInterceptor(RepositoryInformation repositoryInformation, Object customImplementation, Object target)
RepositoryFactorySupport.QueryExecutorMethodInterceptor
. Builds a model of QueryMethod
s to be invoked on
execution of repository interface methods.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.