An Aspect represent the name of a cross-cutting functionality, it’s only name not implementation.
Let us see the example.
1 | public class MyLogicClass |
From above codes, we have four cross-cutting functionalities for logicOne and logicTwo method, So this means we have four Aspects which are Authentication, Logging, Transaction, Email.
Note: Aspect is only denote the name of the cross-cutting functionality, not the implementation