Results 1 to 2 of 2

Thread: Arguments to @Before / @After

Hybrid View

  1. #1

    Post Arguments to @Before / @After

    Hello,

    I want to know if it is possible to pass customized strings from @before and @after to my interceptors so that I can pass on different arguments to be printed on the log file?

    Please help me out.

    Thanks & Regards
    Srikanth

  2. #2
    Join Date
    Jun 2006
    Location
    SF Bay Area, California
    Posts
    524

    Default

    Take a look at this(), args(), target() etc. pointcuts in Spring and AspectJ documentation.

    -Ramnivas
    Ramnivas Laddad (Follow me on Twitter)
    AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •