Search in sources :

Example 6 with AdviceListener

use of com.shulie.instrument.simulator.api.listener.ext.AdviceListener in project LinkAgent by shulieTech.

the class ExtensionAdviceWrapContainer method afterCall.

@Override
public void afterCall(Advice advice, int callLineNum, String callJavaClassName, String callJavaMethodName, String callJavaMethodDesc, Throwable callThrowable) {
    AdviceListener adviceListener = wrapAdviceListener();
    adviceListener.afterCall(advice, callLineNum, callJavaClassName, callJavaMethodName, callJavaMethodDesc, callThrowable);
}
Also used : AdviceListener(com.shulie.instrument.simulator.api.listener.ext.AdviceListener)

Example 7 with AdviceListener

use of com.shulie.instrument.simulator.api.listener.ext.AdviceListener in project LinkAgent by shulieTech.

the class ExtensionAdviceWrapContainer method afterReturning.

@Override
public void afterReturning(Advice advice) throws Throwable {
    AdviceListener adviceListener = wrapAdviceListener();
    adviceListener.afterReturning(advice);
}
Also used : AdviceListener(com.shulie.instrument.simulator.api.listener.ext.AdviceListener)

Example 8 with AdviceListener

use of com.shulie.instrument.simulator.api.listener.ext.AdviceListener in project LinkAgent by shulieTech.

the class ExtensionAdviceWrapContainer method before.

@Override
public void before(Advice advice) throws Throwable {
    AdviceListener adviceListener = wrapAdviceListener();
    adviceListener.before(advice);
}
Also used : AdviceListener(com.shulie.instrument.simulator.api.listener.ext.AdviceListener)

Example 9 with AdviceListener

use of com.shulie.instrument.simulator.api.listener.ext.AdviceListener in project LinkAgent by shulieTech.

the class ExtensionAdviceWrapContainer method after.

@Override
public void after(Advice advice) throws Throwable {
    AdviceListener adviceListener = wrapAdviceListener();
    adviceListener.after(advice);
}
Also used : AdviceListener(com.shulie.instrument.simulator.api.listener.ext.AdviceListener)

Example 10 with AdviceListener

use of com.shulie.instrument.simulator.api.listener.ext.AdviceListener in project LinkAgent by shulieTech.

the class ExtensionAdviceWrapContainer method afterCallThrowing.

@Override
public void afterCallThrowing(Advice advice, int callLineNum, boolean isInterface, String callJavaClassName, String callJavaMethodName, String callJavaMethodDesc, Throwable callThrowable) {
    AdviceListener adviceListener = wrapAdviceListener();
    adviceListener.afterCallThrowing(advice, callLineNum, isInterface, callJavaClassName, callJavaMethodName, callJavaMethodDesc, callThrowable);
}
Also used : AdviceListener(com.shulie.instrument.simulator.api.listener.ext.AdviceListener)

Aggregations

AdviceListener (com.shulie.instrument.simulator.api.listener.ext.AdviceListener)10 ModuleException (com.shulie.instrument.simulator.api.ModuleException)1 Destroyable (com.shulie.instrument.simulator.api.annotation.Destroyable)1 Destroyed (com.shulie.instrument.simulator.api.listener.Destroyed)1 EventListener (com.shulie.instrument.simulator.api.listener.EventListener)1 InitializingBean (com.shulie.instrument.simulator.api.listener.InitializingBean)1 AdviceAdapterListener (com.shulie.instrument.simulator.api.listener.ext.AdviceAdapterListener)1 ExtensionAdviceWrapContainer (com.shulie.instrument.simulator.core.extension.ExtensionAdviceWrapContainer)1