[jboss-user] [EJB] - @Service and the TimerService

mwx.dennis do-not-reply at jboss.com
Fri Nov 13 06:22:27 EST 2009


In my @org.jboss.ejb3.annotation.Service bean I noticed that I can do this:
	
  | @Resource
  | private SessionContext sessionContext;
  | 

but for some reason I cannot do this:

	
  | @Resource
  | private TimerService timerService;
  | 
The timer service does not get injected.

Was this constraint introduced on purpose? 
How can I get the TimerService reference?

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

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



More information about the jboss-user mailing list