[jboss-dev-forums] [Design of Embedded JBoss] - Re: Shortcomings of Virtual Archives (in progress)

ALRubinger do-not-reply at jboss.com
Mon Jul 13 13:42:12 EDT 2009


"jason.greene at jboss.com" wrote : If you have a class instance, then putting its bytes in the VFS is a waste.

So you agree with me that the subject of this Thread is appropriate? :)

"jason.greene at 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):

http://anonsvn.jboss.org/repos/jbossas/projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/incubation/virtual/impl/base/AbstractVirtualArchive.java
http://anonsvn.jboss.org/repos/jbossas/projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/incubation/virtual/impl/vfs/VirtualVfsArchiveImpl.java

Both are covered by the API:

http://anonsvn.jboss.org/repos/jbossas/projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/incubation/virtual/spi/ExtensibleVirtualArchive.java

S,
ALR

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

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



More information about the jboss-dev-forums mailing list