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
Take a look at http://docs.jboss.com/aop/1.3/aspect-framework/examples/precedence/precedence.html
the example referrred to is in the aop distribution