Class ServletContextImplClassBytecodeProcessor
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
-
- org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
-
- org.zeroturnaround.javarebel.integration.generic.BaseServletContextImplClassBytecodeProcessor
-
- org.zeroturnaround.javarebel.integration.generic.ServletContextImplClassBytecodeProcessor
-
- All Implemented Interfaces:
org.zeroturnaround.javarebel.ClassBytecodeProcessor
public class ServletContextImplClassBytecodeProcessor extends BaseServletContextImplClassBytecodeProcessor
Bytecode processor for the standard Servlet context integration.Transforms any
javax.servlet.ServletContextimplementation by registering servlet context instance (in the end of any constructor) and delegating all resource providing methods to JRebel.This can be used with servlet context implementations which are ready to provide resources already after the constructor call (no additional initialization method will be called afterwards).
- Author:
- Rein Raudjärv
- See Also:
ServletIntegration,RebelServletContext,BaseServletContextImplClassBytecodeProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
CacheAwareJavassistClassBytecodeProcessor.CachingPolicy
-
-
Constructor Summary
Constructors Constructor Description ServletContextImplClassBytecodeProcessor()
-
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.- Overrides:
processin classBaseServletContextImplClassBytecodeProcessor- Parameters:
cp- the container ofCtClassobjects.cl- the class loader loading the given class.ctClass- the class representation.- Throws:
Exception
-
-