0 Replies Latest reply on Dec 7, 2006 6:33 AM by editha

    Scoping classes

    editha

      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?