0 Replies Latest reply on Aug 30, 2005 5:50 PM by christopher.yuen

    Any way to implement interceptor on entity bean setter, ejbC

    christopher.yuen

      Is there any way to intercept setter methods and methods like ejbCreate, ejbStore on our custom CMP entity beans? I need this kind of feature because our EIS needs to be notified if changes happened in the AS (e.g. which object and which attributes are updated).

      I tried using a method invocation interceptor as pointcut in the form of execute (* $instanceof{javax.ejb.EntityBean}->*(..)) but it doesn't intercept anything (whereas the CMP objects are created and updated successfully in the AS).

      I understand that all JBoss generated classes are ignored for matching pointcut but is there a way to implement this via AOP or other technologies?