Package rife.continuations.instrument
Class ContinuationsTransformer
java.lang.Object
rife.instrument.RifeTransformer
rife.continuations.instrument.ContinuationsTransformer
- All Implemented Interfaces:
ClassFileTransformer
- Direct Known Subclasses:
EngineContinuationsTransformer
,WorkflowContinuationsTransformer
A bytecode transformer that will modify classes so that they
receive the functionalities that are required to support the continuations
functionalities as they are provided by RIFE2's web engine.
This transformer is internally used by the ContinuationsAgent
.
- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionContinuationsTransformer
(ContinuationConfigInstrument configInstrument, String property) Creates a new transformer. -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
transformRife
(ClassLoader loader, String classNameInternal, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) This transform method will only be called when the class is not part of a core package.Methods inherited from class rife.instrument.RifeTransformer
transform
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Constructor Details
-
ContinuationsTransformer
Creates a new transformer.- Parameters:
configInstrument
- the instance of the instrumentation configuration that will be used for the transformation- Since:
- 1.0
-
-
Method Details
-
transformRife
protected byte[] transformRife(ClassLoader loader, String classNameInternal, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Description copied from class:RifeTransformer
This transform method will only be called when the class is not part of a core package.For the rest it functions exactly as the regular
transform
method.
-