Annotation Type AdditionalInterception
-
@Retention(RUNTIME) @Target(METHOD) public @interface AdditionalInterceptionMarks a probe method to be called at an additional point of the previously declared interception. The source file method order will be used to determine the previous interception that this additional interception belongs to.The annotated method must be public and static. If the main interception is a
PayloadInterceptionthat returnsPayload, the probe method annotated withAdditionalInterceptioncan return aStringto update the payload name. Otherwise, the probe method must return void.You can get information from the intercepted method like parameter values, the instance or the return value by declaring parameters annotated with the annotations from the com.jprofiler.api.probe.injected.parameter package. You can also declare a parameter of type
ProbeContextto open or close control objects or check if the probe is currently being recorded.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description InvocationTypevalueThe point at which the annotated probe method is invoked.
-
-
-
Element Detail
-
value
InvocationType value
The point at which the annotated probe method is invoked.- Returns:
- the invocation type
-
-