[jboss-user] [Beginners Corner] - Scoping classes

editha do-not-reply at jboss.com
Thu Dec 7 06:33:24 EST 2006


In chapter 2 of the jboss application server guide, i found the following sentence concerning scoped classloading:  
"With deployment based scoping, each deployment creates its own class loader repository in the form of a HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3 instances of the deployment units included in the EAR before delegating to the default UnifiedLoaderRepository3."

I am afraid I do not really understand this. What exactly does "HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3 instances of the deployment units included in the EAR" mean? 

May I create my own UnifiedClassLoader3 instance that is then used? Where do i generate that instance? Anywhere in a java class of that ear? 
Is it even possible to use my own custom classloader which extends UnifiedClassLoader3?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991936#3991936

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991936



More information about the jboss-user mailing list