It would work in both, but for what Bill wants, I think you are correct.<br>Although as I understand it, he is actually creating a bean inside a deployment?<br><br>Bill's approach wont know anything about the scoping rules of the deployment<br>
as he correctly points out.<br><br><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>