Quantcast
Channel: Spring AOP: What's the difference between JoinPoint and PointCut? - Stack Overflow
Viewing all articles
Browse latest Browse all 19

Spring AOP: What's the difference between JoinPoint and PointCut?

$
0
0

I'm learning Aspect Oriented Programming concepts and Spring AOP. I'm failing to understand the difference between a Pointcut and a Joinpoint - both of them seem to be the same for me. A Pointcut is where you apply your advice and a Joinpoint is also a place where we can apply our advice. Then what's the difference?

An example of a pointcut can be:

@Pointcut("execution(* * getName()")

What can be an example of a Joinpoint?


Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>