myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan-Kees van Andel <jankeesvanan...@gmail.com>
Subject RE: Scanning for annotated classes in MyFaces 2
Date Wed, 07 Jan 2009 12:40:07 GMT

I can help you with it if you want to. I find it an interesting subject.
If you could just point me to the main scanner classes and methods in Shale,
I'll find my way from there.

Regards,
Jan-Kees


Mario Ivankovits wrote:
> 
> 
>> -----Original Message-----
>> From: Jan-Kees van Andel [mailto:jankeesvanandel@gmail.com]
>> Sent: Wednesday, January 07, 2009 8:15 AM
>> To: dev@myfaces.apache.org
>> Subject: Re: Scanning for annotated classes in MyFaces 2
>> 
>> It might be smart to put this Shale code in a separate project. For
>> example
>> in Commons, since there are several Apache projects that need to scan
>> for
>> annotations, like EJB3 and JPA projects.
> 
> 
> Yeah, I thought the same too.
> What would be great would be some sort of "annotation scanner" where you
> can register a "scanning job" for system startup so that the classpath
> scanning has to take place only once and the scanning jobs get called back
> about the results.
> 
> Sure, if a scanning job registers something like "**" all packages get
> scanned and startup time is slow again, but this is on the responsibility
> of the developer then.
> 
> 
> I can help to startup a commons sandbox project and to work out a
> specification for the library, but my spare time for coding is very low
> :-(
> 
> Ciao,
> Mario
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Scanning-for-annotated-classes-in-MyFaces-2-tp21318418p21330557.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.


Mime
View raw message