|
From: Bruce M. <br...@mc...> - 2003-04-03 17:48:56
|
On Thursday 03 April 2003 12:37 pm, ek...@ba... wrote: > As a short followup to our recent conversation where I asked how to get a > WLS DB Connection Pool resource, you indicated that I can call > ResourceFactory.getResource( ) to get my desired resource. I have created > all the supporting classes to do this (WlsPooledJdbc -- which extends > Resource -- and I have created my own SqlConfigService in a custom > package) and have updated all (I think) of the properties files (including > the babel-* and query properties files) to reflect these changes. > > My question is: From within SqlConfigService.checkOut( ) and checkIn( ), > do I explicitly call ResourceFactory.getResource( )? If so, what is the > argument I use? Is it the Key name I provided for the class name listed > in query.properties? (in my case, > Resource.wlspooled=com.bankofny.iecc.alt.sql.resource.WlsPooledJdbc)? I > was wondering why I would even need to name anything since I had already > created the following entry in babel-config.properties: > > # Type is required. > type=wlspooled > > # All database connectivity information comes from the INXP Configurator > file > > I just need to know what to pass in the argument. Thanks! babeldoc-config is the resource name that you will use. the babel-config then uses the 'wlspooled' resource name to get the resource class. But that is something that your configuration class does not need to know about. |