1 Reply Latest reply on Feb 28, 2005 4:14 PM by sviluppatorefico

    how to write jboss-aop.xml for hibernate and spring framewor

    kiran12345

      I'm using Hibernate combined with spring framework. I'm using this hibernate in web tier(Action classes). Now I have written aspects classes using jboss aop. but its finding difficult for me to write jboss-aop.xml to bind pointcut to hibernate calls.
      I have tried with this jboss-aop.xml

      bind pointcut="execution(* net.sf.hibernate.Session->*(..))">
      interceptor class="tavant.platform.infrared.aspects.HibernateAPIAspect"/>


      Please help me in this regard

      Thanks and Regards,
      Kiran.