Results 1 to 3 of 3

Thread: applying advices to business objects

  1. #1
    Join Date
    Oct 2007
    Posts
    6

    Default applying advices to business objects

    I want to implement the old MVC pattern using AOP. For that I need to apply advices to my business objects. That means to objects that are not defined in the application context. They are prepared by my DAOs.

    Does anyone have an idea how that could be done ? example ?

    Do you think the whole idea is nonsense ?

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

    Default

    You need to use AspectJ weaver in this situation (compile-time or load-time). See Spring and AspectJ documentation for more details.

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

  3. #3
    Join Date
    Oct 2007
    Posts
    6

    Default AspectJ does not support weaving Collection

    Hi as far as I understood AspectJ does not Support weaving into collection classes (existing implementations). Therefore the usage is disqualified for my usage.

Posting Permissions

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