BTW the fix for this in Jencks 1.1 is to just specify the
jcaContainer property on the JCAConnector POJO.
Now thats out and working we can probably deprecate the lazy loading
stuff in the next Jencks release, 1.2 and do away with the
addConnector stuff.
James
On 23 Sep 2005, at 16:16, Andy Depue wrote:
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
James
-------
http://radio.weblogs.com/0112098/