title: Configure Pointcut for Spring JPA repository methods
body: <p>I am trying to create an Aspect which runs after every call to save() of Spring JpaRepository. I have defined my Aspect as follows: </p>
  
  <pre><code>import org.aspectj.lang.JoinPoint;
  import org.aspectj.lang.annotation.AfterReturning;
  import org.aspectj.lang.annotation.Aspect;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.stereotype.Component;
  
  @Aspect
  @Component
  @Slf4j
  public class ProcessAspect {
  
      @Autowired
      private ProcessService processService;
  
      @AfterReturning(value = "execution(* com.domain.control.repository.ProcessDao.save())))",
      returning = "result")
      private void propagateProcess(JoinPoint joinPoint, Object result) {
          log.info("Aspect is working, congratulations. Jointpoint {} , result {}", joinPoint, result.toString());
          Process process = (process) result;
  
         // do something on the object returned by save()
          processService.createOrUpdateProcess(process);
      }
  
  }
  </code></pre>
  
  <p>My repository is defined as follows:</p>
  
  <pre><code>@Repository
  public interface ProcessDao extends JpaRepository&lt;Process, String&gt;
  </code></pre>
  
  <p>If I configure it this way then the aspect is not working.</p>
  
  <p>How can I configure my aspect to run after generic JPA repository methods?</p>