"ALRubinger" wrote :
| "jason.greene(a)jboss.com" wrote : If you don't have a class instance,
then you have a very different API, that operates off of Files/URLs.
|
| addClass(Class<?> class) simply delegates out to addResource(String resource):
|
Perhaps we are both saying the same thing (just differently)?
My point was that these two methods should completely different behaviors. The class case
should never need representation in the VFS, since the class instance (no matter where it
came from), will work fine. In essence this is really the same as a specialized
classloading configuration that pulls in files from outside the deployment. The major
difference being that annotation scanning by frameworks such as ejb3 must be ran on these
classes.
The resource case, on the otherhand, makes perfect sense for custom VFS behavior, since
these really are files.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243356#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...