Announcement Announcement Module
No announcement yet.
piintcut inside method Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • piintcut inside method


    we are trying to adopt spring to our project now, we were going through the AOP and trying to use it for auditing , AOP supports to call a method before or after or after returning etc. calling a actual method.

    since we want to audit the flow it may require to update message in the audit log in between the method which is created at run time.

    Is there a way to introduce point cut in side a method and update the messages created at run time.

    hope I explained my concern clearly, can any body help me out here.


  • #2
    No there isn't... You cannot create a pointcut that operates halfway a method. (I suggest AspectJ in Action 2nd edition which is a great book).