3 Replies Latest reply on Aug 14, 2008 3:13 PM by kyle.bober

    Problem with TimerService

    jacekolszak

      Hi everyone...

      I've made some simple stateless bean (with jboss embeddable):

      @Stateless
      public class Listeners implements ListenersLocal {
       @Resource
       TimerService timerService;
      
       public void someMethod(){
       timerService.create......
       }
      }
      


      Unfortunetly timerService isn't injected. It's null. What I'm doing wrong? Does Jboss Embeddable need some configuration file to allow using timerService ?