[jboss-dev-forums] [Design of EJB 3.0] - Re: Pluggable @EJB Resolvers

ALRubinger do-not-reply at jboss.com
Mon Dec 8 17:14:43 EST 2008


"wolfc" wrote : You don't want to go into class loader details. The beanInterface name is used for comparisons. It's actually a view identifier and not a Java interface as such.

Then how do you resolve:

@Local
  | interface MyBusinessLocal extends MyCommon

@EJB
  | MyCommon myBean;

For this you need to load the class in order to get all superclasses as well.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195178#4195178

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195178



More information about the jboss-dev-forums mailing list