Class ConstructorAdvice

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

public class ConstructorAdvice extends Object
Advice used to capture the pluginKey of a Bundle. This needs to be invoked when exiting the constructor to ensure that the BundleContext has been initialised within the org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice
Since:
5.7.x
  • Constructor Details

    • ConstructorAdvice

      public ConstructorAdvice()
  • Method Details

    • afterConstructor

      @OnMethodExit public static void afterConstructor(@FieldValue(value="pluginKey",readOnly=false) String pluginKey, @FieldValue("context") org.osgi.framework.BundleContext context)