Class SPIDescriptorGenerator

  • All Implemented Interfaces:
    VerifierPlugin

    public class SPIDescriptorGenerator
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void verify​(Analyzer analyzer)
      This plugin is called after the manifest generation and after the jar is fully populated with resources.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SPIDescriptorGenerator

        public SPIDescriptorGenerator()
    • Method Detail

      • verify

        public void verify​(Analyzer analyzer)
                    throws java.lang.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:
        java.lang.Exception