Irfan Basha [
https://community.jboss.org/people/irbash] created the discussion
"Re: Custom ClassLoader"
To view the discussion, visit:
https://community.jboss.org/message/804797#804797
--------------------------------------------------------------
Hi Ales,
Thanks for the reply.
Do you mean my jboss-beans.xml should be:
<deployment xmlns="urn:jboss:bean-deployer:2.0">
<classloader name="custom-classloader"
xmlns="urn:jboss:classloader:1.0"
export-all="NON_EMPTY" import-all="true"
/>
<bean name="CustomCL"
class="com.beans.CustomClassLoader">
<constructor>
<parameter>
<inject
bean="custom-classloader:0.0.0" />
</parameter>
</constructor>
</bean>
<bean name="CB1" class="com.Sample">
<classloader>
<inject bean="CustomCL" />
</classloader>
</bean>
</deployment>
I still get ClassNotFound Exception...
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/804797#804797]
Start a new discussion in JBoss Microcontainer at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]