-
Jun 17th, 2010, 07:54 AM
#1
Weblogic 10.3 @EJB SpringBeanAutowiringInterceptor
Hi
I am having a problem with an EJB 3.0 running inside WLS 10.3.1.
Note, the EJB is using:
@Stateless
@Interceptors(SpringBeanAutowiringInterceptor.clas s)
public class MyEjb {
@EJB
AnotherEJB anotherEjb; // EJB
@Autowired
@Qualifier("aBean")
MyInterface myInterface; // Spring bean
}
@EJB annotation does not resolve the EJB correctly, bea internal classes try to resolve the EJB through Spring (but does not get into Spring classes).
If I move the @EJB annotation out into a static factory class (ie. one that does not have @Interceptors(SpringBeanAutowiringInterceptor.clas s) at the top of the class, then it works fine.
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules