cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Smyth <andrea.sm...@iona.com>
Subject Re: Configuration APIs
Date Fri, 01 Sep 2006 16:21:19 GMT
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.

Mime
View raw message