Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E557D4F2 for ; Mon, 6 Aug 2012 16:08:54 +0000 (UTC) Received: (qmail 49722 invoked by uid 500); 6 Aug 2012 16:08:53 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 49633 invoked by uid 500); 6 Aug 2012 16:08:53 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 49621 invoked by uid 99); 6 Aug 2012 16:08:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 16:08:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_FREEMAIL_1,FSL_FREEMAIL_2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gudnabrsam@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 16:08:49 +0000 Received: by qcad1 with SMTP id d1so2326240qca.30 for ; Mon, 06 Aug 2012 09:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=hP8n1hzhPjUvPvOjM0nx3ZnJJzcMYP7Ph7JDZlGbeBI=; b=FOt/brDr7QZx0m0ME45IClXeB3mzacJGgza1GcZqK42uOY2hODYUaR6WHoIHDcfr6M 3rt8ib9YdYV4T5YShne+WiljH835FoVTTsv9AgBtskw8aOcDYlHCtZzZ/33WVZHQ2jxE iXM1576o1EhxgU8aDYYFL8OCJ6WE9AeVh2m0AbYPZC1KPTZVotzercCC0Q+aTL2OgmCs 52djHZLUkHdHjUKxEW6Wy3Vf43KfsYVlsLt9UwKM6NgvJzZpObvatqqgBoTkpntWeA1j ARFytDDXXqgXCPETEhgUbyPIjPoffqa/wV6KdMbITw5zPxkgGLJqkI8YeRuJdKEdzw7E cBTQ== MIME-Version: 1.0 Received: by 10.58.189.69 with SMTP id gg5mr9551516vec.6.1344269308014; Mon, 06 Aug 2012 09:08:28 -0700 (PDT) Received: by 10.58.161.18 with HTTP; Mon, 6 Aug 2012 09:08:27 -0700 (PDT) Reply-To: gudnabrsam@gmail.com In-Reply-To: References: Date: Mon, 6 Aug 2012 11:08:27 -0500 Message-ID: Subject: Re: [chain2] ServiceLoader in Chain2 to load Jackson supported formats From: Matt Benson To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org +1 for Java 6 as well. Matt On Mon, Aug 6, 2012 at 10:59 AM, James Carman wrote: > +1 to upgrade to Java 6. > > On Mon, Aug 6, 2012 at 11:13 AM, Simone Tripodi > wrote: >> Hi all guys, >> >> I am prototyping the Jackson support as described in CHAIN-76 and >> found an elegant solution with ServiceLoader to support, via Jackson, >> multiple format support without hardcoding them in the ConfigParser >> code but rather loading available parsers at runtime. >> >> Since [chain2] hasn't been published yet and my prototype would >> require an API which is not available on Java5, we have 3 options: >> >> * using the [discovery] component >> >> * using a backport[1] component I wrote time ago for java5 (it's ALv2) >> >> * upgrade to java6 >> >> The second option sounds to me the more reasonable since uses java >> standard APIs and is Java6 compatible, while keeping Java5 backward >> compatibility... >> >> WDYT? >> Many thanks in advance, all the best! >> -Simo >> >> [1] http://99soft.github.com/backport-spi/ >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org