I'm just wondering how the Pointcutframework works in Spring inside. How does he know which method will be executed next (and then he does his work before / after the method is executed)? Is this somehow reflected? Even if I put a debug point in the definition Pointcut, the debugger will not hit it.
Pointcut
This is accomplished by proxying your aspect method. The method call is replaced by the proxy method call. The proxy method performs preliminary annotations first, then calls your original method and then executes subsequent annotations.
- , , .
, , . , pointcuts - , , , , .
Spring, . , , , . - .
, , , , , Spring. Spring .
JAX-RS, , , Spring, JAX-RS, .
wild card, , - Spring - .
P.S , .