Class SPIDescriptorGenerator

java.lang.Object
aQute.bnd.plugin.spi.SPIDescriptorGenerator
All Implemented Interfaces:
VerifierPlugin

public class SPIDescriptorGenerator extends Object implements VerifierPlugin
Plugin that executes during the verify phase in order to generate SPI descriptor files (a.k.a. META-INF/services/*) from osgi.serviceloader capabilities.
  • Constructor Details

    • SPIDescriptorGenerator

      public SPIDescriptorGenerator()
  • Method Details

    • verify

      public void verify(Analyzer analyzer) throws Exception
      Description copied from interface: VerifierPlugin
      This plugin is called after the manifest generation and after the jar is fully populated with resources. The plugin is intended to verify details of the jar and manifest.
      Specified by:
      verify in interface VerifierPlugin
      Throws:
      Exception