AnsweredAssumed Answered

How can use mine service on TaskListener?

Question asked by croc1 on May 22, 2012
Latest reply on May 23, 2012 by ronald.van.kuijk
Hi
I want to use mine service interface on TaskListener?
the service in spring context
like this

@Component
public class ListenerK implements TaskListener{
   
   @Resource SysUserService sysUserService;
   
   public void notify(DelegateTask delegateTask) {
      System.out.println(sysUserService);
      
   }

}
but the service is null.why?

Outcomes