Hi all! I want to log every invoke public method in my class. So, i create LoggingAspect class for logging, and configure Spring on xml.
When i start my application, all methods logging three times, for example:
Entering method selectAllCompanies...
Entering method selectAllCompanies...
Entering method selectAllCompanies...
Really, methods invokes one times. I think, that problem in a pointcut, but i'm not sure.
aop-context.xml
LoggingAspect.java