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 CA0B09945 for ; Thu, 12 Apr 2012 21:39:28 +0000 (UTC) Received: (qmail 30367 invoked by uid 500); 12 Apr 2012 21:39:28 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 30183 invoked by uid 500); 12 Apr 2012 21:39:28 -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 30173 invoked by uid 99); 12 Apr 2012 21:39:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 21:39:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=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.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 21:39:23 +0000 Received: by pbcwz12 with SMTP id wz12so2936050pbc.30 for ; Thu, 12 Apr 2012 14:39:03 -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:content-transfer-encoding; bh=N+PSITiz1EAri3rn9PU8/MU3dgQNmhrhmcpU9nTK0nQ=; b=hMjxAnggO6k0j6NB9dpQFD0GFH+RrWhF9D3dWxjYbkDVUfF2I7ehdQxNkl317Iy020 zj53rLmzDu5l3r3PHfad7wBdRjHAh5eJoBynlgi93udfqEspF5Q6gBKAv+G0C1mDnGeF Kdtj1N4NkycBq6rqYGwauzPNY0xuWqQswksBmOIixQrJvpI7F1MB6Ps1VLpLEAlBrVHB gT7PFlw3ERG7OSUh4CgOT5ZZOh5LSZ/6ypBZ89szZSum7xt5rWLiTLV4JrRGrgvXfRBq t66IbqNhDORSQtaiBqXXj+/SPeS3b+vHdxMnuzj9LxdH7aPaxHa+oGkMXUpem6w3X7t5 rdhA== MIME-Version: 1.0 Received: by 10.68.218.228 with SMTP id pj4mr139185pbc.167.1334266743212; Thu, 12 Apr 2012 14:39:03 -0700 (PDT) Received: by 10.68.26.41 with HTTP; Thu, 12 Apr 2012 14:39:03 -0700 (PDT) Reply-To: gudnabrsam@gmail.com In-Reply-To: References: <79E039646D52C14E8807917F748999F004CC2F72@QYNPRDEXMBXAP04.corp.intuit.net> Date: Thu, 12 Apr 2012 16:39:03 -0500 Message-ID: Subject: Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata From: Matt Benson To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Chas, Thanks for getting the repo back into a nicer state. Does this codebase actually have any common pedigree with [meiyo] (seemingly no)? The answer would dictate how, if indeed, we move forward with it; personally I think there is value here especially in that you already account for the notion of classloader separation. AFAICT you have no ICLA on file and Intuit's CCLA lists individuals, none of whom is you. ;) Hopefully this code was written on your own dime anyway, but only you and Intuit can say whether they have any claim on this IP. Matt On Thu, Apr 12, 2012 at 4:16 PM, Honton, Charles wrote: > Repository (https://github.com/chonton/meiyo-sandbox/) and Reports > (http://chonton.github.com/meiyo-sandbox/) have been updated. > > Regards, > Chas > > > On 4/11/12 1:47 PM, "Honton, Charles" wrote: > >>Mark, >> >>Please look at my implementation - >>http://chonton.github.com/meiyo-sandbox/ (I've accidently trashed my >>source respository, which I'll clean up tomorrow.) =A0You can see the cod= e >>through the javadoc and jxr reports. >> >>The implementation tracks classes per location (jar or folder), with >>multiple locations per classloader, up to and including the bootstrap >>classloader. =A0Finding class information delegates the search up the >>parent chain, mirroring the classloader pattern. >> >>Additionally, the implementation includes a registry of classloader >>information, so that multiple users need not introspect each classloader >>multiple times. =A0The code allows gc reclamation of the bcel objects to >>minimize memory footprint. =A0The registry holds weak references to the >>classloaders, so that the classloaders may be reclaimed. >> >>Regards, >>chas >> >>-----Original Message----- >>From: Mark Struberg [mailto:struberg@yahoo.de] >> >>... We need to provide class scanning on a per-ClassLoader level. Many >>frameworks (EJB, CDI, ...) need to take care about Class visibility and >>might even have to deal with 'shared-contexts'. Thus the >>commons-classscan as well as xbean-finder must =A0be aware of the >>ClassLoader hierarchy. Especially in multi-webapp environments this might >>(as side effect) also bring a pretty neat performance improvement as we >>don't need to scan those shared class paths redundantly! >> >> >> >>--------------------------------------------------------------------- >>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