Package rife.continuations.instrument
Class ContinuableDetector
java.lang.Object
rife.instrument.ClassInterfaceDetector
rife.continuations.instrument.ContinuableDetector
Detects whether a class implements the continuable marker interface that is
set up in the provided instrumentation config.
This is done without actually loading the class and by analyzing the bytecode itself. It's important to not load the class because the class is supposed to be instrumented before actually loading it, if it implements the marker interface.
- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionContinuableDetector
(ContinuationConfigInstrument config, ClassBytesProvider bytesProvider) Creates a new instance of the detector. -
Method Summary
Methods inherited from class rife.instrument.ClassInterfaceDetector
detect
-
Constructor Details
-
ContinuableDetector
Creates a new instance of the detector.- Parameters:
config
- the instrumentation configurationbytesProvider
- the bytecode provider that will be used to load the bytes relevant classes and interfaces- Since:
- 1.0
-