Kurt R. Hoehn wrote:
You can add another service point.

I didn't really want to have to create /another/ service as the ObjectPool is specific to DataSourceConnectionPoolService.

This will give you the ability to configure the GenericObjectPool.

<service-point id="GenericObjectPool"
interface="org.apache.commons.pool.ObjectPool">
  <invoke-factory>
    <construct class="org.apache.commons.pool.GenericObjectPool">
      <set property="maxIdle" value="15" />
    </construct>
  </invoke-factory>
</service-point>

This still doesn't let me set to configuration dynamically though... I don't want to have to subclass and declare an init method just to read some static config. Is there no way I can specify a config file in xml and have HiveMind parse it and set the config automatically...?

Thanks,

--
Bob Arnott

Software Developer
Autonomy Systems Ltd.
Cambridge Business Park
Cowley Road
Cambridge
CB4 0WZ

T: +44 (0) 1223 448 000
F: +44 (0) 1223 448 001
http://www.aungate.com/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to