I got a bit lost in the translation of your code, so I am not sure. But it looks like you
have some problems in your java code. Java allows you to cast any object to any interface,
and as long as the method exists there you should be fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148869#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...