[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.

Thanks,
Piotr.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/590728#590728]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- 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