public class ServletContextImplClassBytecodeProcessor extends BaseServletContextImplClassBytecodeProcessor
Transforms any javax.servlet.ServletContext implementation
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).
ServletIntegration,
RebelServletContext,
BaseServletContextImplClassBytecodeProcessor| Constructor and Description |
|---|
ServletContextImplClassBytecodeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.zeroturnaround.bundled.javassist.ClassPool cp,
ClassLoader cl,
org.zeroturnaround.bundled.javassist.CtClass ctClass)
Modifies the class to be loaded.
|
acceptPathAsClass, process, setImplicitClassNamespublic ServletContextImplClassBytecodeProcessor()
public void process(org.zeroturnaround.bundled.javassist.ClassPool cp,
ClassLoader cl,
org.zeroturnaround.bundled.javassist.CtClass ctClass)
throws Exception
JavassistClassBytecodeProcessorprocess in class BaseServletContextImplClassBytecodeProcessorcp - the container of CtClass objects.cl - the class loader loading the given class.ctClass - the class representation.ExceptionCopyright © 2018. All rights reserved.