public interface HijackBehavior
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(HijackContext context)
Method which will be called in instrumented class and method.
|
HijackMode |
getHijackMode()
Information where the
execute(HijackContext) should be run in order to
instrumented method. |
HijackMode getHijackMode()
execute(HijackContext) should be run in order to
instrumented method.HijackModejava.lang.Object execute(HijackContext context) throws java.lang.Exception
context - Contains instance of instrumented class or null if instrumented method
is static.java.lang.Exception - if there will be any problem during execution (like reflection).