mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-13 13:21:11 +00:00
Added comments when CallMonitoringAspect called
CallMonitoringAspect is not invoked when spring-data-jpa is used. Spent 4 hours trying to understand why jmx bean wasn't showing message counts. Use JPA or JDBC if you want call counts exposed via JMX / AOP
This commit is contained in:
parent
e8c944f6bb
commit
5a6c108efb
3 changed files with 4 additions and 4 deletions
|
|
@ -26,6 +26,8 @@ import org.springframework.util.StopWatch;
|
|||
/**
|
||||
* Simple aspect that monitors call count and call invocation time. It uses JMX annotations and therefore can be
|
||||
* monitored using any JMX console such as the jConsole
|
||||
*
|
||||
* This is only useful if you use JPA or JDBC. Spring-data-jpa doesn't have any correctly annotated classes to join on
|
||||
*
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue