Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 55883 invoked from network); 30 Aug 2010 01:48:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 01:48:16 -0000 Received: (qmail 68269 invoked by uid 500); 30 Aug 2010 01:48:16 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68006 invoked by uid 500); 30 Aug 2010 01:48:15 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 67998 invoked by uid 99); 30 Aug 2010 01:48:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 01:48:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 01:48:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7U1ls63002068 for ; Mon, 30 Aug 2010 01:47:54 GMT Message-ID: <6651691.62401283132874532.JavaMail.jira@thor> Date: Sun, 29 Aug 2010 21:47:54 -0400 (EDT) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (POOL-169) POOL 2.0 suggested deprecations - deprecate direct access to protected fields, make factories immutable In-Reply-To: <869870.21181273771244349.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/POOL-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz resolved POOL-169. ------------------------------ Resolution: Fixed Resolving for 1.5.5. > POOL 2.0 suggested deprecations - deprecate direct access to protected fields, make factories immutable > ------------------------------------------------------------------------------------------------------- > > Key: POOL-169 > URL: https://issues.apache.org/jira/browse/POOL-169 > Project: Commons Pool > Issue Type: Improvement > Reporter: Sebb > Fix For: 1.5.5 > > > This issue is intended to collect information on changes to Pool which will require deprecations and change of API. > 1. Lender.setCompositeObjectPool should be deprecated, and implementations should be changed to include setup of the pool in their ctors. > 2. composite.Manager.setCompositeObjectPool - ditto > 3. composite.ActiveLimitManager.setMaxActive > 4. CompositeObjectPool.setOwningCompositeKeyedObjectPool > 5. Pool factories (GenericObjectPoolFactory, GenericKeyedObjectPoolFactory, StackObjectPoolFactory, StackKeyedObjectPoolFactory) should be made immutable in Pool 2.0. Getters should be added for configuration properties and protected fields should be deprecated. > 6. Pool factories should be immutable - i.e., setFactory methods should be deprecated in pool implementations -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.