Class MethodInvocationAdvice

java.lang.Object
com.atlassian.plugin.osgi.advice.MethodInvocationAdvice

public class MethodInvocationAdvice extends Object
Advice used to store the pluginKey before an osgi service method is invoked. The pluginKey is then discarded after invocation. The pluginKey is used to enrich instrumentation for certain osgi service usages.

The joinpoint can be found at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice#invoke(MethodInvocation invocation)

Since:
5.7.x
  • Constructor Details

    • MethodInvocationAdvice

      public MethodInvocationAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter public static void onEnter(@FieldValue("pluginKey") String pluginKey)
    • onExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class) public static void onExit()