Class StandardClassLoaderCBP

  • All Implemented Interfaces:
    org.zeroturnaround.javarebel.ClassBytecodeProcessor

    public class StandardClassLoaderCBP
    extends CacheAwareJavassistClassBytecodeProcessor
    CBP for the standard class loader integration.

    The given class loader is registered with JRebel at the end of any constructor.

    findClass, findResource and findResources methods are delegated to JRebel. FindResourceClassResourceSource is used by JRebel to find resources using the given class loader.

    Author:
    Jevgeni Kabanov, Rein Raudjärv
    See Also:
    Integration, FindResourceClassResourceSource
    • Constructor Detail

      • StandardClassLoaderCBP

        public StandardClassLoaderCBP()
    • Method Detail

      • patchFindClass

        protected void patchFindClass​(org.zeroturnaround.bundled.javassist.ClassPool cp,
                                      org.zeroturnaround.bundled.javassist.CtClass ctClass)
                               throws org.zeroturnaround.bundled.javassist.CannotCompileException,
                                      org.zeroturnaround.bundled.javassist.NotFoundException
        Override class loading
        Throws:
        org.zeroturnaround.bundled.javassist.CannotCompileException
        org.zeroturnaround.bundled.javassist.NotFoundException