[Commons Wiki] Update of classscan by Charles Honton

2012-07-07 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by Charles Honton: http://wiki.apache.org/commons/classscan?action=diffrev1=6rev2=7 The `[classscan]` component aims to provide a general-purpose

[Commons Wiki] Update of classscan by Charles Honton

2012-07-07 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by Charles Honton: http://wiki.apache.org/commons/classscan?action=diffrev1=7rev2=8 Cache With this approach, `MetaRegistry` would have

[Commons Wiki] Update of ClassScan by Charles Honton

2012-07-07 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The ClassScan page has been changed by Charles Honton: http://wiki.apache.org/commons/ClassScan New page: #REDIRECT classscan

[Commons Wiki] Update of classscan by Charles Honton

2012-07-04 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by Charles Honton: http://wiki.apache.org/commons/classscan?action=diffrev1=5rev2=6 === High-Level Modules === - Core + api

Re: [classscan] new URL(xxx) and it's problems

2012-06-09 Thread Mark Struberg
no. and thats exactly the problem. LieGrue, strub - Original Message - From: Honton, Charles charles_hon...@intuit.com To: Mark Struberg strub...@yahoo.de; Commons Developers List dev@commons.apache.org Cc: Sent: Thursday, June 7, 2012 5:28 PM Subject: Re: [classscan] new URL

Re: [classscan] Metadata API discussion

2012-06-09 Thread Mark Struberg
: Sent: Friday, June 8, 2012 5:47 PM Subject: Re: [classscan] Metadata API discussion In on my MacBook, I get the following counts for running just the unit tests: Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode

Re: [classscan] Metadata API discussion

2012-06-08 Thread Honton, Charles
In on my MacBook, I get the following counts for running just the unit tests: Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode) Cache: 1 BootstrapClassLoader: 1 WeakConcurrentHashMap: 1 MetaUrlClassLoader:

Re: [classscan] Metadata API discussion

2012-06-07 Thread sebb
, June 7, 2012 1:49 AM Subject: Re: [classscan] Metadata API discussion Mark, In the BCEL implementation I originally used adapter classes which implemented the appropriate interface and delegated to the BCEL object. Unfortunately, this created a large memory footprint.  The BCEL objects

Re: [classscan] new URL(xxx) and it's problems

2012-06-07 Thread Honton, Charles
@commons.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Thursday, June 7, 2012 1:59 AM Subject: Re: [classscan] new URL(xxx) and it's problems I did originally use URLs. Due to the ugliness Mark alludes to, I moved to URIs. The biggest performance consideration was using a URL as a Key

Re: [classscan] Metadata API discussion

2012-06-07 Thread James Carman
On Thu, Jun 7, 2012 at 3:56 AM, sebb seb...@gmail.com wrote: Not sure I follow this. Why would an interface use extra memory? I can see that it might add a bit more to the static size of a class, but why would it add more to each instance of a class that uses it? It's not the interface

Re: [classscan] Metadata API discussion

2012-06-07 Thread sebb
On 7 June 2012 21:11, James Carman ja...@carmanconsulting.com wrote: On Thu, Jun 7, 2012 at 3:56 AM, sebb seb...@gmail.com wrote: Not sure I follow this. Why would an interface use extra memory? I can see that it might add a bit more to the static size of a class, but why would it add more to

Re: [classscan] Metadata API discussion

2012-06-07 Thread James Carman
There can be quite a few if you have to have them for every class, interface, annotation, method, field, etc. Then again if you just reuse 1 adapter object all the time it wouldn't be that bad. You would just have to let users know that they cannot maintain references to those objects after

Re: [classscan] Experiment on xbean-finder

2012-06-06 Thread Mark Struberg
List dev@commons.apache.org Cc: Sent: Wednesday, June 6, 2012 7:50 AM Subject: Re: [classscan] Experiment on xbean-finder g ood stuff. I'd like to go on and do the following: in ./trunk add the following new directories tck - our mass tests, etc which we can use for common testing

[classscan] java5 or java6 as lang level in commons nowadays?

2012-06-06 Thread Mark Struberg
Hi! Should we set our java language level to java5 or java6? LieGrue, strub - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [classscan] java5 or java6 as lang level in commons nowadays?

2012-06-06 Thread James Carman
6 On Jun 6, 2012 8:51 AM, Mark Struberg strub...@yahoo.de wrote: Hi! Should we set our java language level to java5 or java6? LieGrue, strub - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional

[classscan] transparency

2012-06-06 Thread Matt Benson
that no decisions were made, only ideas bandied about. Matt [1] http://wiki.apache.org/commons/classscan - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

[classscan] new URL(xxx) and it's problems

2012-06-06 Thread Mark Struberg
Hi! I've now looked through both impls and both share some very similar API classes obviously (MetaClass, MetaField, etc). Details are different, but I think we can extract a common API. One thing I figured while looking at the code is that some parts are full with URI handling instead of

[classscan] Metadata API discussion

2012-06-06 Thread Mark Struberg
Hi! I now did read through the metadata classes of Chas' and Davids impls. Both look pretty similar to some degree. A few key differences * using AnnotatedElement instead of HasName() makes it possible to replace most 'old' code which does getAnnotations() etc 1:1  Imo we should keep this

Re: [classscan] Metadata API discussion

2012-06-06 Thread Honton, Charles
Mark, In the BCEL implementation I originally used adapter classes which implemented the appropriate interface and delegated to the BCEL object. Unfortunately, this created a large memory footprint. The BCEL objects are not frugal with memory. I'm pretty sure we could tease apart the BCEL parts

Re: [classscan] new URL(xxx) and it's problems

2012-06-06 Thread Honton, Charles
I did originally use URLs. Due to the ugliness Mark alludes to, I moved to URIs. The biggest performance consideration was using a URL as a Key to a map. That completely blew up performance. Does anyone have a concrete example of !url.equals(new URL(url.toExternalForm()) ? Thanks, Chas On

Re: [classscan] Metadata API discussion

2012-06-06 Thread Mark Struberg
...@yahoo.de Cc: Sent: Thursday, June 7, 2012 1:49 AM Subject: Re: [classscan] Metadata API discussion Mark, In the BCEL implementation I originally used adapter classes which implemented the appropriate interface and delegated to the BCEL object. Unfortunately, this created a large memory

Re: [classscan] new URL(xxx) and it's problems

2012-06-06 Thread Mark Struberg
URLs in a map you need to do special tricks :( LieGrue, strub - Original Message - From: Honton, Charles charles_hon...@intuit.com To: Commons Developers List dev@commons.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Thursday, June 7, 2012 1:59 AM Subject: Re: [classscan

Re: [classscan] organization

2012-06-05 Thread Matt Benson
] Sent: Sunday, June 03, 2012 8:40 AM To: dev@commons.apache.org Subject: [classscan] organization I propose that we, in the immediate future, reorganize [classscan] into multiple modules.  I fully expect that by the time we get everyone's input/features/alternative implementations for X/Y/Z

Re: [classscan] organization

2012-06-05 Thread Honton, Charles
Matt, What particular approaches do you have in mind? How is xbean-finder going to be plugged in? Is classscan to be dependent upon xbean-finder or vice versa? What functionality will be required from the dependency? Thanks, chas On 6/5/12 7:26 AM, Matt Benson gudnabr...@gmail.com wrote: I

Re: [classscan] organization

2012-06-05 Thread James Carman
I think Matt is talking about introducing a SPI concept. On Tue, Jun 5, 2012 at 11:17 AM, Honton, Charles charles_hon...@intuit.comwrote: Matt, What particular approaches do you have in mind? How is xbean-finder going to be plugged in? Is classscan to be dependent upon xbean-finder

Re: [classscan] organization

2012-06-05 Thread Matt Benson
configuration required. Another module that will provide its own SPI will be more or less what you see at https://github.com/struberg/Apache-commons-classscanner/tree/master/classscan-api/src/main/java/org/apache/commons/classscan/api . How is xbean-finder going to be plugged in?  Is classscan

Re: [classscan] organization

2012-06-05 Thread James Carman
-classscanner/tree/master/classscan-api/src/main/java/org/apache/commons/classscan/api . How is xbean-finder going to be plugged in? Is classscan to be dependent upon xbean-finder or vice versa? What functionality will be required from the dependency? xbean-finder could be plugged

Re: [classscan] organization

2012-06-05 Thread James Carman
will be more or less what you see at https://github.com/struberg/Apache-commons-classscanner/tree/master/classscan-api/src/main/java/org/apache/commons/classscan/api . How is xbean-finder going to be plugged in? Is classscan to be dependent upon xbean-finder or vice versa? What

[Commons Wiki] Update of classscan by MattBenson

2012-06-05 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by MattBenson: http://wiki.apache.org/commons/classscan?action=diffrev1=1rev2=2 == classscan development ideas == - The [classscan] component

[Commons Wiki] Update of classscan by MarkStruberg

2012-06-05 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by MarkStruberg: http://wiki.apache.org/commons/classscan?action=diffrev1=2rev2=3 == classscan development ideas == The [classscan] component

[Commons Wiki] Trivial Update of classscan by JamesCarman

2012-06-05 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by JamesCarman: http://wiki.apache.org/commons/classscan?action=diffrev1=3rev2=4 * foo * bar * baz + * Implementation details (BCEL, ASM

[classscan] Experiment on xbean-finder

2012-06-05 Thread David Blevins
Adding a branch of xbean-finder for experimentation in what it might look like to break it apart and abstract out ASM and other bits. Just playing, no obligation or expectation this will go anywhere :) -David - To

Re: [classscan] Experiment on xbean-finder

2012-06-05 Thread Matt Benson
Welcome, David! Matt On Tue, Jun 5, 2012 at 3:07 PM, David Blevins david.blev...@gmail.com wrote: Adding a branch of xbean-finder for experimentation in what it might look like to break it apart and abstract out ASM and other bits. Just playing, no obligation or expectation this will go

[Commons Wiki] Update of classscan by MattBenson

2012-06-05 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by MattBenson: http://wiki.apache.org/commons/classscan?action=diffrev1=4rev2=5 - == classscan development ideas == + The `[classscan]` component

Re: [classscan] Experiment on xbean-finder

2012-06-05 Thread James Carman
Yes, Welcome! Looking forward to your input into our little classpath scanning experiment! :) On Tue, Jun 5, 2012 at 4:12 PM, Matt Benson gudnabr...@gmail.com wrote: Welcome, David! Matt On Tue, Jun 5, 2012 at 3:07 PM, David Blevins david.blev...@gmail.com wrote: Adding a branch of

Re: [classscan] Experiment on xbean-finder

2012-06-05 Thread David Blevins
On Jun 5, 2012, at 1:12 PM, Matt Benson wrote: Welcome, David! Thanks, Matt! Ok, so I refactored it a bit to work in some of the ideas I was hearing on IRC today. Those changes were primarily: - Promote Info objects that represent class data to a separate package not tied to any bytecode

Re: [classscan] Experiment on xbean-finder

2012-06-05 Thread David Blevins
An expanded view of the info below in markdown: https://gist.github.com/2880038 Pulled in some also pulled in some Meta-Annotation information from the proposals going around Java EE 7. There's a lot there, feel free to ignore it. Not critical. -David On Jun 5, 2012, at 9:57 PM, David

Re: [classscan] Experiment on xbean-finder

2012-06-05 Thread Mark Struberg
-finder to LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To: Commons Developers List dev@commons.apache.org; gudnabr...@gmail.com Cc: Sent: Wednesday, June 6, 2012 7:32 AM Subject: Re: [classscan] Experiment on xbean-finder An expanded view

Re: [classscan] Build Failing...

2012-06-04 Thread James Carman
Carman jcar...@carmanconsulting.com wrote: I pointed my local Jenkins/Sonar setup at classscan at: http://svn.apache.org/repos/asf/commons/sandbox/classscan/trunk It's failing on: Could not resolve dependencies for project org.apache.commons:classscan:jar:0.1-SNAPSHOT: Could not find artifact

RE: [classscan] Build Failing...

2012-06-04 Thread Honton, Charles
James, I've tried to duplicate this issue and have failed. I removed all org.apache.bcel:bcel and bcel:bcel artifacts from my local repository and built classscan from new sandbox. I subsequently saw a bcel snapshot being downloaded. If you have any more clues as to why this fails for you

RE: [classscan] organization

2012-06-04 Thread Honton, Charles
a multi-module project. Regards, chas -Original Message- From: Matt Benson [mailto:gudnabr...@gmail.com] Sent: Sunday, June 03, 2012 8:40 AM To: dev@commons.apache.org Subject: [classscan] organization I propose that we, in the immediate future, reorganize [classscan] into multiple

[classscan] logging

2012-06-03 Thread Matt Benson
Can anyone provide a reason [classscan] should not simply use slf4j-simple in the test scope rather than logback? It's a small change, but any reduction in complexity... Matt - To unsubscribe, e-mail: dev-unsubscr

[classscan] organization

2012-06-03 Thread Matt Benson
I propose that we, in the immediate future, reorganize [classscan] into multiple modules. I fully expect that by the time we get everyone's input/features/alternative implementations for X/Y/Z in place, we will want the flexibility. I am fine with starting small, e.g. core/bcel modules, although

Re: [classscan] logging

2012-06-03 Thread Ralph Goers
Well, you might want the logging to be silent during normal testing but to be enabled if problems arise. Ralph On Jun 3, 2012, at 8:27 AM, Matt Benson wrote: Can anyone provide a reason [classscan] should not simply use slf4j-simple in the test scope rather than logback? It's a small

Re: [classscan] logging

2012-06-03 Thread Gary Gregory
, Matt Benson wrote: Can anyone provide a reason [classscan] should not simply use slf4j-simple in the test scope rather than logback? It's a small change, but any reduction in complexity... Matt - To unsubscribe, e-mail: dev

Re: [classscan] organization

2012-06-03 Thread Gary Gregory
On Jun 3, 2012, at 11:40, Matt Benson gudnabr...@gmail.com wrote: I propose that we, in the immediate future, reorganize [classscan] into multiple modules. I fully expect that by the time we get everyone's input/features/alternative implementations for X/Y/Z in place, we will want

Re: [classscan] logging

2012-06-03 Thread Christian Grobmeier
On Sun, Jun 3, 2012 at 5:59 PM, Gary Gregory garydgreg...@gmail.com wrote: I would rather we eat our own dog food with log4j or commons logging. As classscan is in sandbox... I think it would help the logging team if we would try log4j 2.0 alpha. It is a great framework already and logging

Re: [classscan] organization

2012-06-03 Thread Simone Tripodi
://www.99soft.org/ On Sun, Jun 3, 2012 at 6:29 PM, Gary Gregory garydgreg...@gmail.com wrote: On Jun 3, 2012, at 11:40, Matt Benson gudnabr...@gmail.com wrote: I propose that we, in the immediate future, reorganize [classscan] into multiple modules.  I fully expect that by the time we get

[classscan] Build Failing...

2012-06-03 Thread James Carman
I pointed my local Jenkins/Sonar setup at classscan at: http://svn.apache.org/repos/asf/commons/sandbox/classscan/trunk It's failing on: Could not resolve dependencies for project org.apache.commons:classscan:jar:0.1-SNAPSHOT: Could not find artifact org.apache.bcel:bcel:jar:6.0-SNAPSHOT. Do I

Re: [classscan] Build Failing...

2012-06-03 Thread Matt Benson
Oddly, I had this problem, but on the second try the build worked. :| Matt On Sun, Jun 3, 2012 at 10:25 PM, James Carman jcar...@carmanconsulting.com wrote: I pointed my local Jenkins/Sonar setup at classscan at: http://svn.apache.org/repos/asf/commons/sandbox/classscan/trunk It's failing

Re: [classscan] Source repository

2012-05-31 Thread Matt Benson
Hello all, As Charles has been recently voted in as a Commons committer by virtue of his other contributions to Commons components (congratulations!), he is now free to import his work into the [classscan] sandbox repo as a base for the rest of us to start stuffing features. ;P Regarding IP: I

Re: [classscan] Source repository

2012-05-31 Thread Mark Struberg
- From: Matt Benson mben...@apache.org To: Commons Developers List dev@commons.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Thursday, May 31, 2012 6:53 PM Subject: Re: [classscan] Source repository Hello all, As Charles has been recently voted in as a Commons committer by virtue

Re: [classscan] Source repository

2012-05-31 Thread Honton, Charles
The classscan sandbox is open for play! http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/ Chas On 5/31/12 9:53 AM, Matt Benson mben...@apache.org wrote: Hello all, As Charles has been recently voted in as a Commons committer by virtue of his other contributions to Commons

Re: [classscan] Source repository

2012-05-24 Thread Mark Struberg
: Re: [classscan] Source repository 2012/5/4 Honton, Charles charles_hon...@intuit.com: In order to move classscan forward, I think we need a commons community repository.  Is any PMC willing to create one? An 3 weeks old e-mail, but seems unanswered... I do not quite understand

Re: [classscan] Source repository

2012-05-23 Thread Konstantin Kolinko
2012/5/4 Honton, Charles charles_hon...@intuit.com: In order to move classscan forward, I think we need a commons community repository.  Is any PMC willing to create one? An 3 weeks old e-mail, but seems unanswered... I do not quite understand the question, because there is already

[classscan] Source repository

2012-05-04 Thread Honton, Charles
In order to move classscan forward, I think we need a commons community repository. Is any PMC willing to create one? Thanks, chas - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail

Re: [classscan]

2012-04-24 Thread Mark Struberg
I think there are 2 mechanisms involved here: a.) the part which takes a jar, scans it's bytecode in a well performing manner and provides all the class structure information to the user. b.) a mechanism which allows to reuse this scanning process for multiple 'classscan-clients'. Currently

Re: [classscan]

2012-04-23 Thread Honton, Charles
the community work [classscan] based on his classscanner name. I lean here, but could possibly be persuaded to [classpath] which name suggests a slightly larger potential scope (not necessarily a bad thing). Matt On Fri, Apr 20, 2012 at 10:09 AM, Gary Gregory garydgreg...@gmail.com wrote: On Fri

Re: [classscan]

2012-04-23 Thread David Blevins
the community work [classscan] based on his classscanner name. I lean here, but could possibly be persuaded to [classpath] which name suggests a slightly larger potential scope (not necessarily a bad thing). Matt On Fri, Apr 20, 2012 at 10:09 AM, Gary Gregory garydgreg...@gmail.com wrote

Re: [classscan]

2012-04-23 Thread Honton, Charles
upon here. WRT the name: trying to reconstruct the past, I think Mark and I must have just agreed offline to call the community work [classscan] based on his classscanner name. I lean here, but could possibly be persuaded to [classpath] which name suggests a slightly larger potential scope

Re: [classscan]

2012-04-23 Thread David Blevins
: [classpath,meiyo] Agreed; there are any number of things the PMC needs to agree upon here. WRT the name: trying to reconstruct the past, I think Mark and I must have just agreed offline to call the community work [classscan] based on his classscanner name. I lean here, but could possibly

Re: [classscan]

2012-04-23 Thread Honton, Charles
and I must have just agreed offline to call the community work [classscan] based on his classscanner name. I lean here, but could possibly be persuaded to [classpath] which name suggests a slightly larger potential scope (not necessarily a bad thing). Matt On Fri, Apr 20, 2012 at 10:09 AM

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-16 Thread Honton, Charles
, ...) 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 be aware of the ClassLoader hierarchy. Especially in multi-webapp environments this might (as side effect) also bring a pretty neat performance

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-13 Thread Matt Benson
-contexts'. Thus the commons-classscan as well as xbean-finder must  be 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

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-12 Thread Honton, Charles
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 be aware of the ClassLoader hierarchy. Especially in multi-webapp environments this might (as side effect) also bring

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-12 Thread Matt Benson
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  be aware of the ClassLoader hierarchy. Especially in multi-webapp

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Simone Tripodi
Same here, as main Meiyo contributor I'm of course interested, but no available cycles ATM, hopefully during the weekend :( Anyway, just to speak about it, I am changing my mind about classpath scanning, that - even only when bootstrapping, of course - is a time consuming operation. I'd invite

RE: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Honton, Charles
: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata Same here, as main Meiyo contributor I'm of course interested, but no available cycles ATM, hopefully during the weekend :( Anyway, just to speak about it, I am changing my mind about classpath scanning

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread James Carman
second?  Ten seconds? Thanks, chas -Original Message- From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of Simone Tripodi Sent: Wednesday, April 11, 2012 12:17 AM To: Commons Developers List Subject: Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Matt Benson
], but the point is that Mark Struberg is after all free to add his https://github.com/struberg/Apache-commons-classscanner code to [classscan]. This will give us a little more to discuss wrt merging its and [meiyo]'s features. As I recall, Mark was having trouble logging into the Moin wiki, which

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Mark Struberg
the commons-classscan as well as xbean-finder must  be 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! But I need to think about

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Simone Tripodi
[mailto:simone.trip...@gmail.com] On Behalf Of Simone Tripodi Sent: Wednesday, April 11, 2012 12:17 AM To: Commons Developers List Subject: Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata Same here, as main Meiyo contributor I'm of course

RE: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Honton, Charles
[mailto:strub...@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  be aware of the ClassLoader

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Ralph Goers
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 be aware of the ClassLoader hierarchy. Especially in multi-webapp environments this might (as side effect) also bring

[classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-09 Thread Honton, Charles
There's been sporadic talk on this newsgroup since September 2010 about providing a commons component which can scan a classpath and provide metadata about the classes. I have a clean (license-wsie) concrete interface and implementation to share. This code will support the following use

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-09 Thread James Carman
I am interested. I do want to keep it as simple as possible to set up and retrieve the information. I haven't had a chance to take a look at your stuff, yet, though. Perhaps I can get a few cycles this week. On Mon, Apr 9, 2012 at 5:29 PM, Honton, Charles charles_hon...@intuit.com wrote:

[classscan] What happened to ClassScan?

2011-11-05 Thread James Carman
I remember us having discussions a while back about a ClassScan API. The sandbox/classscan/trunk directory is empty, though. Did we give it a different name? Did we give up on the idea? - To unsubscribe, e-mail: dev-unsubscr

Re: [classscan] What happened to ClassScan?

2011-11-05 Thread Simone Tripodi
Hi James! ClassScan is a Mark Struberg's proposal, 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

Re: [classscan] What happened to ClassScan?

2011-11-05 Thread James Carman
%+ of the scenarios. On Sat, Nov 5, 2011 at 11:25 AM, Simone Tripodi simonetrip...@apache.org wrote: Hi James! ClassScan is a Mark Struberg's  proposal, I pinged him on Twitter and replied they need to clean their code before moving to commons :) Meiyo actually works with reflection, ClassScan

Re: [sandbox] [classscan] classscan API design review needed

2011-07-29 Thread Jakob Korherr
...@yahoo.de wrote: Hi Simo! Sorry, I guess I was not clear enough! Some specs require us to pickup this info from some config (e.g. META-INF/beans.xml). The classscan-client needs to pickup this configuration from there and must tell it the classscan-server somehow. This could be some form

Re: [sandbox] [classscan] classscan API design review needed

2011-07-29 Thread Mark Struberg
...@carmanconsulting.com Subject: Re: [sandbox] [classscan] classscan API design review needed To: Commons Developers List dev@commons.apache.org Date: Thursday, July 28, 2011, 11:01 PM Why the client / server nomenclature?  Makes it sound too heavyweight On Jul 28, 2011 4:20 PM, Mark Struberg strub

Re: [sandbox] [classscan] classscan API design review needed

2011-07-28 Thread Mark Struberg
implementation - just kidding ;) Nah serious, a few Ideas from Meyio (e.g. the Callback for the Filter) are really cool and we should incorporate them into classscan. A few other interfaces are imo a bit too generic. The hardest nut will most probably be the design of the Filter. The requirements

Re: [sandbox] [classscan] classscan API design review needed

2011-07-28 Thread Simone Tripodi
Hallo Mark, Some classscan-clients maybe first need to read some config files for getting exclude/include info. sorry for being repetitive but that's here too that I suggest adopting the Meiyo's alike way of configuring the component via EDSL instead of config files - there's no reason

Re: [sandbox] [classscan] classscan API design review needed

2011-07-28 Thread Mark Struberg
Hi Simo! Sorry, I guess I was not clear enough! Some specs require us to pickup this info from some config (e.g. META-INF/beans.xml). The classscan-client needs to pickup this configuration from there and must tell it the classscan-server somehow. This could be some form of Domain Specific

Re: [sandbox] [classscan] classscan API design review needed

2011-07-28 Thread Simone Tripodi
Hallo Mark!!! Some specs require us to pickup this info from some config (e.g. META-INF/beans.xml). The classscan-client needs to pickup this configuration from there and must tell it the classscan-server somehow Got it, my fault that didn't pay enough attention on your previous messages

Re: [sandbox] [classscan] classscan API design review needed

2011-07-28 Thread James Carman
Why the client / server nomenclature? Makes it sound too heavyweight On Jul 28, 2011 4:20 PM, Mark Struberg strub...@yahoo.de wrote: Hi Simo! Sorry, I guess I was not clear enough! Some specs require us to pickup this info from some config (e.g. META-INF/beans.xml). The classscan-client

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Simone Tripodi
folks! We need a few idea and brainstorming on the filter/selection mechanism for our new classscan-api (yes, 3 's' in classscan). There are some specs which require some marker files to actually enable the class scanning. E.g. the JSR-299 CDI spec defines that only jars with META-INF

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Jakob Korherr
Hi Mark, Simone, I would prefer a way in which the classscan-clients can tell the classscan-server in what they are interested in via an API like Mark proposed (e.g. subscribe()) before the scanning of a specific artifact (e.g. jar) starts. I guess this could be kinda like

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Matt Benson
On Wed, Jul 27, 2011 at 4:25 AM, Jakob Korherr jakob.korh...@gmail.com wrote: Hi Mark, Simone, I would prefer a way in which the classscan-clients can tell the classscan-server in what they are interested in via an API like Mark proposed (e.g. subscribe()) before the scanning of a specific

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Jakob Korherr
+1 Regards, Jakob 2011/7/27 Matt Benson gudnabr...@gmail.com: On Wed, Jul 27, 2011 at 4:25 AM, Jakob Korherr jakob.korh...@gmail.com wrote: Hi Mark, Simone, I would prefer a way in which the classscan-clients can tell the classscan-server in what they are interested in via an API like

[Commons Wiki] Update of classscan by MattBenson

2011-07-27 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Commons Wiki for change notification. The classscan page has been changed by MattBenson: http://wiki.apache.org/commons/classscan New page: == classscan development ideas == The [classscan] component aims to provide

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Matt Benson
http://wiki.apache.org/commons/classscan On Wed, Jul 27, 2011 at 9:59 AM, Jakob Korherr jakob.korh...@gmail.com wrote: +1 Regards, Jakob 2011/7/27 Matt Benson gudnabr...@gmail.com: On Wed, Jul 27, 2011 at 4:25 AM, Jakob Korherr jakob.korh...@gmail.com wrote: Hi Mark, Simone, I would

Re: [sandbox] [classscan] classscan API design review needed

2011-07-27 Thread Simone Tripodi
Hi Jakob, I'm worried I was not able to explain my ideas well; my intentions are not proposing to modify how classscan behaves, but rather how it looks! Having an expression language rather than a configuration based on n parameters is IMHO still a valid contribution that the existing sandbox

[sandbox] [classscan] classscan API design review needed

2011-07-26 Thread Mark Struberg
Hi folks! We need a few idea and brainstorming on the filter/selection mechanism for our new classscan-api (yes, 3 's' in classscan). There are some specs which require some marker files to actually enable the class scanning. E.g. the JSR-299 CDI spec defines that only jars with META-INF