I am trying to advise javax.persistence.EntityManager using the following configuration:

Code:
<aop:config>
<aop:aspect ref="eventManager">
<aop:before pointcut="execution(* javax.persistence.EntityManager.persist(..))" method="testMethod"/>
</aop:aspect>
</aop:config>
<bean id="eventManager" class="trc.suivi.aspects.EventManagerImpl" />
Can anyone please let me know why this is not working (the testMethod is never called).

Here is something else that might be relevant: the persit method is called from an *.aj (aspectJ) declared as follows: privileged aspect Pli_Roo_Jpa_ActiveRecord

Relevant method:

Code:
@Transactional
    public void Pli.persist() {
        if (this.entityManager == null) this.entityManager = entityManager();
        this.entityManager.persist(this);
    }