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

Answer by Matthew Groves for Spring AOP: What's the difference between JoinPoint and PointCut?

$
0
0

Both pertain to the "where" of aspect-oriented programming.

A join point is an individual place where you can execute code with AOP. E.g. "when a method throws an exception".

A pointcut is a collection of join points. E.g. "when a method in class Foo throws an exception".


Viewing all articles
Browse latest Browse all 19

Trending Articles



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