FYI, my plan for how to integrate this with Seam is:
* to make the deployment handlers expose metadata about the resource (file or class) they
want to handle
- an annotation on the class
- a filename suffix they want to match against
- whether the metadata is complete
* If any handler declares the metadata incomplete, then we must switch back to normal
scanning. All handlers built into Seam will be metadata complete.
* If we are using AnnotationEnv (and equivalent for other resources), then we simply use
the metadata the handler exposes to request the Set of files.
"alesj" wrote : Where I don't see what exactly does
"classLoader.getResources(filename).hasMoreElements() " do/help.
Checks to see if a .component.xml exists for this class. If it does, then the component
installation is decided later, when that file is read.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171293#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...