Olivier, I used your method, and it works like a charm, thanks. I'm now using the instanceof like a proper developer should ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986593#3986593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986593