Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 44090 invoked from network); 13 Oct 2010 17:07:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 17:07:11 -0000 Received: (qmail 47009 invoked by uid 500); 13 Oct 2010 17:07:11 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 46929 invoked by uid 500); 13 Oct 2010 17:07:11 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 46920 invoked by uid 99); 13 Oct 2010 17:07:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 17:07:11 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.18.0.22] (HELO exprod5og111.obsmtp.com) (64.18.0.22) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Oct 2010 17:07:03 +0000 Received: from source ([209.202.150.67]) by exprod5ob111.postini.com ([64.18.4.12]) with SMTP ID DSNKTLXnIXr3wTUnjpbjobtKs2bVmULw1l5+@postini.com; Wed, 13 Oct 2010 10:06:43 PDT X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-cr-puzzleid: {B6137EB6-209F-4CE1-BC57-178F46259A0C} x-cr-hashedpuzzle: AH2M AK7g A2gS BDWt BLLV B1aE CVie C9N5 Di/a EH95 ErYU FOSw GGzT GtVh G8h9 H9G3;1;cgBpAHYAZQByAC0AZABlAHYAQABpAG4AYwB1AGIAYQB0AG8AcgAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{B6137EB6-209F-4CE1-BC57-178F46259A0C};YwBoAHIAaQBzAHQAbwBwAGgAZQByAC4AZABvAGwAYQBuAEAAYQB2AGkAZAAuAGMAbwBtAA==;Wed, 13 Oct 2010 17:06:21 GMT;UAByAG8AcABvAHMAYQBsADoAIABjAGgAYQBuAGcAZQAgAGMAbwBtAC4AcwB1AG4ALgBqAGkAbgBpAC4AbABhAG4AZABsAG8AcgBkACAAdABvACAAYgBlACAAcAB1AGIAbABpAGMAIABBAFAASQA= Content-class: urn:content-classes:message Subject: Proposal: change com.sun.jini.landlord to be public API Date: Wed, 13 Oct 2010 13:06:21 -0400 Message-ID: <77F1E32F67C8D5479858C0C7E93EB465031272C2@WAL-MAIL.global.avidww.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Proposal: change com.sun.jini.landlord to be public API Thread-Index: Actq+PWdWxwYajS4Qwye6MLKoPWy6Q== From: "Christopher Dolan" To: The com.sun.jini.landlord classes are self-described as "a utility for services implementing leases". The package.html says: "Using the classes in this package, you can write services that export leases and handle primarily those factors that are unique to your service, letting the utility classes do generic lease-related work." The landlord classes are used by Outrigger, Mahalo, Norm and Mercury. They are fairly generic and are very useful (my team uses them in two of our proprietary services). To prevent developers from reinventing this particular wheel, I propose that these classes be moved out of the private com.sun.jini namespace and into the public API, either net.jini.landlord or org.apache.river.api.landlord. A significant problem for this proposal is that the following com.sun.jini.* dependencies would need to be refactored or moved with the landlord utilities: com.sun.jini.landlord.ConstrainableLandlordLeaseMap -> com.sun.jini.proxy.ConstrainableProxyUtil com.sun.jini.landlord.ConstrainableLandlordLease -> com.sun.jini.proxy.ConstrainableProxyUtil com.sun.jini.landlord.LandlordLease -> com.sun.jini.lease.AbstractLease com.sun.jini.landlord.LandlordLeaseMap -> com.sun.jini.lease.AbstractLeaseMap I'm posting this proposal here rather than Jira because I suspect it may be controversial. Chris