[jboss-dev-forums] [Design of POJO Server] - Re: Embbedded - broken - some fixes - still not working
steve.ebersole@jboss.com
do-not-reply at jboss.com
Thu Nov 29 12:30:42 EST 2007
anonymous wrote : But like I said before, this doesn't really optimize it. e.g. at least in JBoss
| we'll already have a cache of the annotations so there would be no
| need for you to re-read them. e.g. you currently take the stream
| and parse the byte code (we've already done that looking for other annotations)
The idea is that whatever implementation of the EntityScanner contract was registered would be the one "finding" annotated classes. In your case, as you said, that work has already been done, so your impl could be quite optimized ;)
anonymous wrote : Iterator
Personally, I like this:
| interface EntityProcessor {
| void processAnnotatedClass(Class clazz);
| ...
| }
| interface EntityScanner {
| void findAnnotatedEntities(EntityProcessor processor);
| }
|
But like I said, I'll leave this up to Emmanuel...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109001#4109001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109001
More information about the jboss-dev-forums
mailing list