Thank you for replying and pointing me to the test, even though I might not 
have started this thread in the right forum.

- I included the aspectdomain-interceptors-aop.xml to the root of the ejb jar 
and deployed it within a ear; I also specified that the "Test Domain" inherits 
bindings from "Stateless Bean" domain
- In the jboss.xml I specified that the test bean is in the aop domain defined 
in the aspect...aop.xml file above (so I'm not using annotations in your reply)

It works; when I break in the invoke() method, I can see that my test 
interceptor is the last one, after the 10 interceptors defined for "Stateless 
Bean" domain in the ejb3-interceptors-aop.xml in the jboss aop deployer forlder.

Few more questions though:
- can  be used in aspectdomain-ejb-interceptors-aop.xml to insert the custom 
interceptor at some point between the interceptors inherited from "Stateless 
Bean"? if so can you please point me to an example with inherited bindings?
- is there a way to specify that all ejbs deployed within the ejb-jar are in an 
aop domain (similar to the syntax for /<security-domain>)?

Greatly appreciate your comments.
Sergiu



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950952#3950952

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950952


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to