Say I've got a service that has some dependencies that need to be injected before it
can start up.
My first question is, when do the dependencies get injected, with relation to the service
lifecycle methods? And secondly, how can I, within my service bean, validate that all the
required dependencies are met? If there's a problem, can I e.g. throw an exception
from my start() method to prevent the service from being started, or is there a
"cleaner" way to validate dependencies?
Thanks, sorry if these are dumb questions but I can't seem to find anything in the
user manual covering these topics.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131537#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...