Class StandardClassLoaderCBP
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
-
- org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
-
- org.zeroturnaround.javarebel.integration.generic.StandardClassLoaderCBP
-
- All Implemented Interfaces:
org.zeroturnaround.javarebel.ClassBytecodeProcessor
- Direct Known Subclasses:
FindClassClassBytecodeProcessor
public class StandardClassLoaderCBP extends CacheAwareJavassistClassBytecodeProcessor
CBP for the standard class loader integration.The given class loader is not registered with JRebel (use
FindClassClassBytecodeProcessorfor that).findClass,findResourceandfindResourcesmethods are delegated to JRebel.FindResourceClassResourceSourceis used by JRebel to find resources using the given class loader.- Author:
- Jevgeni Kabanov, Rein Raudjärv
- See Also:
Integration,FindResourceClassResourceSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
CacheAwareJavassistClassBytecodeProcessor.CachingPolicy
-
-
Constructor Summary
Constructors Constructor Description StandardClassLoaderCBP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.zeroturnaround.bundled.javassist.ClassPool cp, ClassLoader cl, org.zeroturnaround.bundled.javassist.CtClass ctClass)Modifies the class to be loaded.-
Methods inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
getCachingPolicy, getCachingPolicy, process
-
Methods inherited from class org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
acceptPathAsClass, acceptPathAsPrimitive, priority, process, setImplicitClassNames
-
-
-
-
Method Detail
-
process
public void process(org.zeroturnaround.bundled.javassist.ClassPool cp, ClassLoader cl, org.zeroturnaround.bundled.javassist.CtClass ctClass) throws ExceptionDescription copied from class:JavassistClassBytecodeProcessorModifies the class to be loaded.- Specified by:
processin classJavassistClassBytecodeProcessor- Parameters:
cp- the container ofCtClassobjects.cl- the class loader loading the given class.ctClass- the class representation.- Throws:
Exception
-
-