code: protected void configureAop() {
          final RepositoryMethodInterceptor proxy = new RepositoryMethodInterceptor();
          requestInjection(proxy);
          // repository specific method annotations (query, function, delegate, etc.)
          bindInterceptor(Matchers.any(), new AbstractMatcher<Method>() {
              @Override
              public boolean matches(final Method method) {
                  // this will throw error if two or more annotations specified (fail fast)
                  try {
                      return ExtUtils.findMethodAnnotation(method) != null;
                  } catch (Exception ex) {
                      throw new MethodDefinitionException(String.format("Error declaration on method %s",
                              RepositoryUtils.methodToString(method)), ex);
                  }
              }
          }, proxy);
      }
docs: Configures repository annotations interceptor.