JBoss Community

Re: @Service annotated bean lifecycle methods

created by piotrekde in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community