Dan Diephouse wrote:
Andrea Smyth wrote:
*snip*
Yes, but beans in the jms file are only instantiated (and then use
beans in the cxf file) if a) they are referenced from beans in the
cxf or the users file or b) the code explicitly requests a bean in
the jms file.
Not true. You can tell spring to instantiate beans on startup. (I
think thats the default actually - see
http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-lazy-init)
It is the default - but only an application context pre-instantiates all
beans (unless explicitly markes as lazy-init) - a plain XmlBeanFactory
does not (which is what I was using).
This is good news.
Andrea.