public class RepositoryFactorySupport.QueryExecutorMethodInterceptor extends Object implements 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,
ProjectionFactory projectionFactory)
Creates a new
RepositoryFactorySupport.QueryExecutorMethodInterceptor. |
public QueryExecutorMethodInterceptor(RepositoryInformation repositoryInformation, ProjectionFactory projectionFactory)
RepositoryFactorySupport.QueryExecutorMethodInterceptor. Builds a model of QueryMethods to be invoked on
execution of repository interface methods.@Nullable public Object invoke(MethodInvocation invocation) throws Throwable
invoke in interface MethodInterceptorThrowableCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.