Hi Ivan! Yes, I already prepared for the addition of a xbean-finder based ClassScanner implementation. But since I didn't reach David yesterday and I personally don't know xbean-finder well enough, I just started hacking on a scannotation based one (similar to the one we use in OpenWebBeans).
LieGrue, strub --- On Sun, 2/27/11, Ivan <[email protected]> wrote: > From: Ivan <[email protected]> > Subject: Re: Classpath Scanner proposal > To: [email protected], [email protected] > Date: Sunday, February 27, 2011, 12:01 PM > Totally agree the idea, in Geronimo, > it is definitely an issue, as many > components need to scan the target application, and we are > trying to improve > this, e,g. In the xbean-finder, we use some filter to limit > the scanning > scope. Also, we hope to have a sharable annotation scanning > tool, and open a > JIRA to track this. > > [1] https://issues.apache.org/jira/browse/GERONIMO-5644 > [2] > https://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/ResourceDiscoveryFilter.java > > 2011/2/27 Mark Struberg <[email protected]> > > > hi folks! > > > > Since I'm tired of waiting for my EE stack to startup > because each and > > every library implements it's own classpath scanner > over and over again, I > > thought about introducing a proposal for a framework > which allows to first > > register 'ScanJobs' and then just does all the > necessary classpath scanning > > only once. > > > > If it turns out to work well, then I even consider > this to get submitted as > > JSR... > > > > But before this point gets reached, a lot of work is > still waiting. > > > > I hope a few people are interested in this work and > help me > > specifying/testing the needs! > > > > The api and a bit of docs can be found at my github > repo [1][2]. > > > > I'm currently working on 'scannizing' OpenWebBeans > (and later MyFaces) as a > > real world example. > > > > LieGrue, > > strub > > > > [1] https://github.com/struberg/Apache-commons-classscanner/ > > [2] > > https://github.com/struberg/Apache-commons-classscanner/wiki/Apache-Commons-ClassScan-proposal > > > > > > > > > > > -- > Ivan >
