Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Re: I want ALL Classloaders to delegate downstream to my jms interfaces
(jms.jar)"
To view the discussion, visit:
http://community.jboss.org/message/588331#588331
--------------------------------------------------------------
I see a bit of contradiction here or I don't understand the question.
(1) The BaseClassLoader seems to pick up any jars in the sun base loader even though it
does declare it as a parent...
(2) I want ALL classloaders to delegate downward and pickup classes for the jms.jar in the
standard base class loader...
Isn't (1) saying what (2) needs?
BaseClassLoader by default delegates to its ClassLoaderDomain which then delegates to
parent,
either this parent being parent ClassLoaderDomain or parent CL (e.g. bootstrap CL).
It's the ClassLoadingMetaData that controls this behavior.
e.g. for .war we change the delegation to parent-first=false, as per the servlet/war spec
If we're talking non-war deployment, this should then already work ootb.
A bit more info on MC' CL:
*
http://java.dzone.com/articles/jboss-microcontainer-classloading
http://java.dzone.com/articles/jboss-microcontainer-classloading
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/588331#588331]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]