[jboss-user] [Beginner's Corner] - Re: @Service annotated bean lifecycle methods

piotrekde do-not-reply at jboss.com
Wed Mar 2 14:53:14 EST 2011

piotrekde [http://community.jboss.org/people/piotrekde] created the discussion

"Re: @Service annotated bean lifecycle methods"

To view the discussion, visit: http://community.jboss.org/message/590728#590728

Thanks for answer Jaikiran,

Unfortunately I cannot switch JBoss version (politics...). Anyway, I've solved this issue by moving initialization code into @Service constructor. Of course it is not possible in all cases (order of injection / initialization), however in my case it works fine.


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110302/77cd2249/attachment-0001.html 

More information about the jboss-user mailing list