Hi,

xbean-finder?


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2014-10-13 13:03 GMT+02:00 Daniel Kasmeroglu <daniel.kasmero...@kasisoft.net>:
> As there's a lot of lookups for annotated classes I was wondering if
> someone thought about creating some sort of annotation database or cache
> based upon the ClassLoader.
> Basically such a ClassLoader would register all annotations of all
> classes so finding annotated classes would be a simple lookup into a table.
> Such a database or database fragment could be persisted onto the disk
> so the processing of classes would only be necessary for the first use
> or it could be generated and bundled with the JARs as part of the
> deployment process so the ClassLoader would simply load these database
> fragments.
> Furthermore we could provide some injectable helper which allows
> developers of application code to get their own annotation finder which
> is aware of such an enhanced ClassLoader which would enhance the
> application code as well.
>
> Any thoughts on that ?
>
>
> Best regards
>
> Daniel Kasmeroglu
>

Reply via email to