EmbeddedAS is a bit of a different beast. Currently it has a mega-JAR of all AS
dependencies bundled for users to put on the ClassPath. Looking forward I need to
intelligently trim this down so that user tests can still use the APIs without leaking
internals and resulting in NoClassDefFoundError when AS comes up. So in effect, when AS
starts up in Embedded mode, all classes are loaded from the application CL.
From the perspective of the bootstrap project, ClassLoading is removed
from scope entirely except for this bit which Adrian has wanted to move out for some time:
http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/trunk/impl-base...
@startBootstraps()
...where we rely upon the CL which loaded the bootstrap to start processing its referents.
Everything else is set up by Main in phases (appCL slim run.jar, then we add a custom
URLCL with a bunch of things necessary to start the server).
ShrinkWrap won't be at all affected.
But let me know if you run into more specific issues.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266395#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...