Class BaseServletContextImplClassBytecodeProcessor
java.lang.Object
org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
org.zeroturnaround.javarebel.integration.generic.BaseServletContextImplClassBytecodeProcessor
- All Implemented Interfaces:
org.zeroturnaround.javarebel.ClassBytecodeProcessor
public class BaseServletContextImplClassBytecodeProcessor
extends CacheAwareJavassistClassBytecodeProcessor
Bytecode processor for delegating Servlet context's resource related methods.
The servlet context instance must be first registered with JRebel. Otherwise the resource providing is unaffected.
- Author:
- Rein Raudjärv
- See Also:
-
ServletIntegrationRebelServletContext
-
Nested Class Summary
Nested classes/interfaces inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
CacheAwareJavassistClassBytecodeProcessor.CachingPolicy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(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, processMethods inherited from class org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
acceptPathAsClass, acceptPathAsPrimitive, priority, process, setImplicitClassNames, withDuplicatePatchingProtectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zeroturnaround.javarebel.ClassBytecodeProcessor
process
-
Constructor Details
-
BaseServletContextImplClassBytecodeProcessor
public BaseServletContextImplClassBytecodeProcessor()
-
-
Method Details
-
process
public void process(org.zeroturnaround.bundled.javassist.ClassPool cp, ClassLoader cl, org.zeroturnaround.bundled.javassist.CtClass ctClass) throws Exception Description 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
-