I am trying to inject another SLSB in a SLSB that implements 
org.jboss.varia.scheduler.Schedulable with no luck.  The code is
@EJB (beanName="PropertyManagerBean")
  | private LocalPropertyManagerBeanInterface propManager;
which works just fine in my other SLSBs.  When I try to use propManager I get a 
NullPointerException.  Looking up the beans without injection works fine.  I 
can however successfully use @Resource to inject a datasource into the bean.  

I guess my question is can you inject a SLSB into a SLSB that implements 
Schedulable?  

Thanks,
Chris

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to