Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advice not getting executed

 
pramod talekar
Ranch Hand
Posts: 328
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm trying to execute an advice using aop.

These are my classes :
MyAdvice classMyBean classMyDependency class
servlet-context.xmlAopNamespaceExample (Test class)The output is
Eclipse also displays the pointers that MyDependency class has been advised by the simpleBeforeAdvice method.

Please advise.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to debug your code through the debugger and set a break point at the line calling the method in the main() method. In the first line of the Advice method, and on the first line of the real class target. And step through and see where things land.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic