Results 1 to 2 of 2

Thread: Matching @annotation using parameters

  1. #1

    Default Matching @annotation using parameters

    Hi, It seems that aspectj 1.6 supports this but I could not make it work.

    I want to creat a pointcut to match

    @RequestMapping(method=x)

    So basically I'd like to have pointcuts matching @RequestMapping(method=GET/POST/DELETE...)

    Any ideas?

    Regards

  2. #2
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Default

    @Target can be use in this case, but again i am not sure about annotation arguments matching.
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


Posting Permissions

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