<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">It would work in both, but for what Bill wants, I think you are correct.<br></blockquote><div><br></div><div>True, it would work in both, as VFSClassLoaderFactory10 extends ClassLoadingMetaData.</div><div><br></div><div>But it depends where you're using, and since you mostly mention / suggest the usage of jboss-classloading.xml,</div><div>it wouldn't work there unless we used <classloading>.</div><br><blockquote type="cite">Although as I understand it, he is actually creating a bean inside a deployment?<br></blockquote><div><br></div><div>Yes.</div><div><br></div><div>Another thing to mention with Bill worrying about the order if multiple -beans.xmls are involved.</div><div>If you declared proper dependency on this new classloader bean, the order doesn't matter.</div><div>e.g.</div><div><bean name="foo" class="..."></div><div> <classloader><inject bean="maven:re:2.0-CR1-classloader"/><classloader></div><div></bean></div><div>This bean would wait in pre PRE_INSTALL state until that classloader bean is available.</div><div>Aka it would be registered, but not yet "class info" described, since its classloader is not yet available.</div><br><blockquote type="cite">Bill's approach wont know anything about the scoping rules of the deployment<br>
as he correctly points out.<br></blockquote><div><br></div><div>Yes, as that classloader creation skips VDF usage -- it's a plain (cl) bean.</div><br><blockquote type="cite"><div class="gmail_quote">On Wed, Jul 14, 2010 at 9:43 AM, Ales Justin <span dir="ltr"><<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> <classloader name="resteasy-classloader"<br>
> xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true"><br>
> <requirements><br>
> <module name="org.jboss.resteasy:resteasy-jaxrs" version="2.0-RC1"><br>
> </requirements><br>
> </classloader><br>
<br>
</div>The top element here should actually be <classloading>, not <classloader>.<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
jboss-development mailing list<br>
<a href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-development" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-development</a><br>
</div></div></blockquote></div><br>
_______________________________________________<br>jboss-development mailing list<br><a href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jboss-development</blockquote></div><br></body></html>