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 F2E9F7387 for ; Sat, 5 Nov 2011 16:03:11 +0000 (UTC) Received: (qmail 90985 invoked by uid 500); 5 Nov 2011 16:03:11 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 90889 invoked by uid 500); 5 Nov 2011 16:03:11 -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 90880 invoked by uid 99); 5 Nov 2011 16:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 16:03:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simone.tripodi@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 16:03:06 +0000 Received: by ggnv5 with SMTP id v5so5451452ggn.30 for ; Sat, 05 Nov 2011 09:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=A5CDHq0DjAbS+1q1Te7NSbqAKuY24vOmf8KHGrD9JaU=; b=V8aVfRF7lMaiQQAZj3wHwNN8g2E5yQxLSOTVercYa8ZDLda8m445OF8VqAfrFPypJN LJGthyuWgAHYAd5crwfRtinR6Ye/Kbe2QGOfgjqGxXRFdqklPfUyUFXTppRv01dxO4ef wna0ZWsan0fyLmQ4iRxKdoBzHpvDIud1mvk/E= MIME-Version: 1.0 Received: by 10.150.100.18 with SMTP id x18mr18281323ybb.75.1320508966057; Sat, 05 Nov 2011 09:02:46 -0700 (PDT) Sender: simone.tripodi@gmail.com Received: by 10.150.51.15 with HTTP; Sat, 5 Nov 2011 09:02:45 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Nov 2011 17:02:45 +0100 X-Google-Sender-Auth: 0IhTncoCK_FS3t788GylO_6vKNc Message-ID: Subject: Re: [classscan] What happened to ClassScan? From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That sounds really interesting indeed! :) Looking forward to see it in the branch! All the best, Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Sat, Nov 5, 2011 at 4:32 PM, James Carman w= rote: > I am playing around with DSL-izing Meiyo a bit more. =C2=A0The code just > seems way too complicated for the general case (at least from what > I've seen browsing the source/tests). =C2=A0I'd like to do something like > this... > > ClassScan.scan().threadContextLoader().where().classAnnotated(MyAnnotatio= n.class) > ClassScan.scan().referenceClass(MyFrameworkClass.class).where().isConstru= ctible() > > I'd like it to read more like a sentence for the most-likely usecases. > =C2=A0Of course, we'd allow the user to "plug" in their own filters, etc.= , > to further customize what they want, but hopefully they won't have to > for 90%+ of the scenarios. > > > On Sat, Nov 5, 2011 at 11:25 AM, Simone Tripodi > wrote: >> Hi James! >> ClassScan is a Mark Struberg's =C2=A0proposal, I pinged him on Twitter a= nd >> replied they need to clean their code before moving to commons :) >> Meiyo actually works with reflection, ClassScan instead reads the >> bytecode via ASM - and it's faster. >> Ideally we could replicate the same behavior in Meiyo... :P >> Feel free to ping me if something in Meiyo is not clear, any >> contribution would be really appreciated! >> Have a nice day, all the best!! >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> >> >> On Sat, Nov 5, 2011 at 3:59 PM, James Carman wrote: >>> Nevermind, I just found "Meiyo"! =C2=A0DUH! >>> >>> >>> On Sat, Nov 5, 2011 at 10:58 AM, James Carman >>> wrote: >>>> I remember us having discussions a while back about a ClassScan API. >>>> The sandbox/classscan/trunk "directory" is empty, though. =C2=A0Did we= give >>>> it a different name? =C2=A0Did we give up on the idea? >>>> >>> >>> --------------------------------------------------------------------- >>> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org