Nope, there is already this method:
public void raiseEvent(String type, Object... parameters)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985876#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...