[jboss-dev-forums] [Design of POJO Server] - Making Creators declare supported annotation types

alesj do-not-reply at jboss.com
Mon Jul 7 09:46:29 EDT 2008


Is there a way that we could add additional information to the Creators used in AnnotationMetaDataDeployer, 
getting the annotation types they are able to handle.

This would help with the performance when using my AltAnnotationMetaDataDeployer (GenericAnnotationDeployer), 
since we would only pass-in the classes that contain at least one of creator's supported annotation.

The rest of the Creator's logic would remain the same, 
it's just the amount of classes that they scan that's gonna be a lot smaller.

And the resources path matching is done at the right place,
classloading + VFS level, no need for the likes of AnnotatedClassFilter.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162859#4162859

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162859



More information about the jboss-dev-forums mailing list