Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 63455 invoked from network); 10 Jan 2011 19:28:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2011 19:28:10 -0000 Received: (qmail 14670 invoked by uid 500); 10 Jan 2011 19:28:09 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 14633 invoked by uid 500); 10 Jan 2011 19:28:09 -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 14625 invoked by uid 99); 10 Jan 2011 19:28:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 19:28:09 +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 (nike.apache.org: local policy) Received: from [64.18.0.178] (HELO exprod5og104.obsmtp.com) (64.18.0.178) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Jan 2011 19:28:01 +0000 Received: from source ([209.202.150.67]) by exprod5ob104.postini.com ([64.18.4.12]) with SMTP ID DSNKTStdqpqpg81nQ9hFstjooZw2kO4+YmHh@postini.com; Mon, 10 Jan 2011 11:27:41 PST X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: converting RegistrarImpl to public class Date: Mon, 10 Jan 2011 14:27:36 -0500 Message-ID: <77F1E32F67C8D5479858C0C7E93EB46504BBF15A@WAL-MAIL.global.avidww.com> In-Reply-To: <4D2AD1DF.3070407@qcg.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: converting RegistrarImpl to public class Thread-Index: AcuwqTBhR8pIe4arQ5qcWTY+GzgQWQAUpcYg References: <4D284C27.2090309@qcg.nl> <4D28514A.7020804@qcg.nl> <4D286AE7.8070101@zeus.net.au> <4D29936D.5020905@qcg.nl> <4D2AD1DF.3070407@qcg.nl> From: "Christopher Dolan" To: X-Virus-Checked: Checked by ClamAV on apache.org I would strongly support a change to 'public' with a 'protected' constructor. Currently my RegistrarImpl subclass has to live in the com.sun.jini.reggie package, which I find distasteful. The primary purpose of that subclass is to have a public constructor, so I would also be happy if RegistrarImpl had a public constructor (or factory method). Chris -----Original Message----- From: Sim IJskes - QCG [mailto:sim@qcg.nl]=20 Sent: Monday, January 10, 2011 3:31 AM To: river-dev@incubator.apache.org Subject: Re: converting RegistrarImpl to public class On 09-01-11 12:29, Dan Creswell wrote: > For a simple "make something local" exercise, slight tweaks to the service > impl like making it public are enough. For more in depth stuff, as you're > suggesting (and as done with Blitz's LocalSpace) there tends to be a lot > more wiring and infrastructure that doesn't necessarily fit well inside of > the core service impl. I agree that the wiring does not necessary have to be in the river-runtime. > A factory makes it nice and easy to get what one is after whilst providing a > layer of separation that affords a lot of flex in building exactly what's > required. Shall we go for a 'protected' for both registrar implementations then?=20 Because if you want to work with the binary dist, and stay out of the=20 package space for river, work without reflection, you need to have some=20 access. Gr. Sim --=20 QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397