You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/13 18:01:31 UTC

[jira] [Resolved] (POOL-164) GenericKeyedObjectPoolFactory should be able to load itself from a properties file

     [ https://issues.apache.org/jira/browse/POOL-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas resolved POOL-164.
------------------------------

    Resolution: Won't Fix

There appears to be little demand for this so I suggest that you implement a helper class to do this for you.

If there is sufficient interest and the property names can be agreed then the helper class could be added to the pool distribution.
                
> GenericKeyedObjectPoolFactory should be able to load itself from a properties file
> ----------------------------------------------------------------------------------
>
>                 Key: POOL-164
>                 URL: https://issues.apache.org/jira/browse/POOL-164
>             Project: Commons Pool
>          Issue Type: New Feature
>            Reporter: Mircea Markus
>             Fix For: 2.0
>
>
> This would be quite handy. Generally pooling configs are not hardcoded, but specified in a config and then passed to the GenericKeyedObjectPoolFactory/GenericObjectPoolFactory. It would be handy to allow a user to load all these configuration from a property file.
> a new constructor would be needed: GenericKeyedObjectPoolFactory(property)
> or even better GenericKeyedObjectPoolFactory(URL)
> Glad to contribute this myself if you find it useful. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira