Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: AOP not working as per point cut

  1. #11

    Default

    if the beans are being imported correctly into your aspect configured xml then it should work

  2. #12

    Exclamation Webflow Aspectj

    Hi shivaji,

    in attempting to use Spring AOP proxy if include both classes
    as a test..
    Code:
    <aop:aspectj-autoproxy>
           <aop:include name="errorLogger" />
           <aop:include name="searchCriteria" />
    </aop:aspectj-autoproxy>
    ie: both Aspect and target are recognized by the proxy somewhat, it only gets triggered upon rendering the view or someting like that, anyway you wouldn't want to have to hardcode all the includes like that?

    I am to understand that you must use Load-Time Weaving for Webflow (lucky me!) and there's not much out there concerning this.

    I found this link for configs but can't see/checkout the source code
    http://www.springbyexample.org/examp...pectj-ltw.html

    When you do that you get all kinds of serialization errors, Webflow requires
    classes to implement serialization.

    Pretty much unable to use AOP in Weflow (hope I'm wrong)!

    John.

Tags for this Thread

Posting Permissions

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