JBoss does it by calling container.getEjbJndiName(businessInterface).
You might be able to access the Ejb3Registry to get the right container, but it's
tricky business.
I like the functionality though, you should open up a Jira issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050332#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...