[jboss-user] [Beginners Corner] - Re: ClassCastException
piotrula
do-not-reply at jboss.com
Mon Dec 18 07:26:11 EST 2006
Try
...
InitialContext ictx = new InitialContext();
Object o = ictx.lookup("ejb/ECB");
Class[] classes = o.getClass().getInterfaces();
for(int i = 0; i < classes.length; i++) {
log.debug("Interface[" + i + "] = " + classes;
}
to show your Object o interfaces.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994649#3994649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994649
More information about the jboss-user
mailing list