1 Reply Latest reply on Sep 15, 2005 5:35 AM by Kabir Khan

    Order of invocation

    Wouter Genuit Newbie

      Hi,

      I was wondering whether there is any order in which interceptors and introduction will be applied. E.g. I have a class CPerson to which I add the interface IPersistent and the implementation is added via CPersistent (all via the jboss-aop.xml file).
      On the constructor of CPerson I added an interceptor. Within the interceptor method, I make a call back to the object to one of the methods in IPersistent. However, then I get a null pointer exception as if the implementation object of CPersistent has not yet been created.

      Anybody any idea?

      Wouter