Class MetaInfServiceParser

java.lang.Object
aQute.bnd.osgi.metainf.MetaInfServiceParser
All Implemented Interfaces:
AnalyzerPlugin, OrderedPlugin

public class MetaInfServiceParser extends Object implements AnalyzerPlugin
process the META-INF/services/* files. These files can contain bnd annotations. Use instruction Constants.METAINF_SERVICES to control this.
  • Constructor Details

    • MetaInfServiceParser

      public MetaInfServiceParser()
  • Method Details

    • analyzeJar

      public boolean analyzeJar(Analyzer analyzer) throws Exception
      Iterate over the the file in META-INF/services and process them for annotations.
      Specified by:
      analyzeJar in interface AnalyzerPlugin
      Parameters:
      analyzer -
      Returns:
      true if the classpace has been modified so that the bundle classpath must be reanalyzed
      Throws:
      Exception