On Friday 23 September 2005 01:41 am, James Strachan wrote: > The main issue is we need to ensure that all of the inbound > connectors are created on startup (i.e. all the message inflow > subscriptions are created on startup). Now maybe there's a better way > of doing that in Spring, but right now we're using this code... > > http://cvs.jencks.codehaus.org/jencks/src/main/java/org/jencks/ > JCAContainer.java?rev=1.1.1.1&view=auto > > (see the afterPropertiesSet() method and the block starting with ... > > if (!lazyLoad.... > > Now you can disable this if you like by setting the lazyLoad property > to true. Maybe there's a better way of configuring this in spring maybe?
Not being real familiar with JCA, is there a single interface that all connectors must implement? Why not initialize only beans of that one interface, instead of all beans in the factory? - Andy
