[jboss-user] [EJB] - Re: @Service and the TimerService
do-not-reply at jboss.com
Fri Nov 13 06:32:59 EST 2009
Sorry, I got it wrong.
The timer service gets injected but I cannot set it up in the bean's constructor because the injection only happens after the constructor was run.
What I'm missing is the lifecycle callbacks such as @PostConstruct.
So my actual question is:
Why are there no lifecycle callbacks in @Service beans?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265475#4265475
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265475
More information about the jboss-user