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 053787D69 for ; Sat, 5 Nov 2011 15:33:38 +0000 (UTC) Received: (qmail 52483 invoked by uid 500); 5 Nov 2011 15:33:37 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 52413 invoked by uid 500); 5 Nov 2011 15:33:37 -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 52405 invoked by uid 99); 5 Nov 2011 15:33:37 -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 15:33:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.213.43] (HELO mail-yw0-f43.google.com) (209.85.213.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 15:33:32 +0000 Received: by ywp17 with SMTP id 17so5414583ywp.30 for ; Sat, 05 Nov 2011 08:33:12 -0700 (PDT) Received: by 10.236.145.37 with SMTP id o25mr26163986yhj.31.1320507190138; Sat, 05 Nov 2011 08:33:10 -0700 (PDT) MIME-Version: 1.0 Sender: jcarman@carmanconsulting.com Received: by 10.147.19.9 with HTTP; Sat, 5 Nov 2011 08:32:49 -0700 (PDT) In-Reply-To: References: From: James Carman Date: Sat, 5 Nov 2011 11:32:49 -0400 X-Google-Sender-Auth: xNmdFZspkPJa0scx7QVp9hE_jdY Message-ID: Subject: Re: [classscan] What happened to ClassScan? To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am playing around with DSL-izing Meiyo a bit more. The code just seems way too complicated for the general case (at least from what I've seen browsing the source/tests). I'd like to do something like this... ClassScan.scan().threadContextLoader().where().classAnnotated(MyAnnotation.= class) ClassScan.scan().referenceClass(MyFrameworkClass.class).where().isConstruct= ible() I'd like it to read more like a sentence for the most-likely usecases. Of 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 =A0proposal, I pinged him on Twitter and > 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"! =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. =A0Did we giv= e >>> it a different name? =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