You cannot at the moment. We are talking about adding such an API to the roadmap though,
but don't expect it till at least 3.0.0.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108044#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...