Class SpringComponent

  • All Implemented Interfaces:
    AnalyzerPlugin

    public class SpringComponent
    extends java.lang.Object
    implements AnalyzerPlugin
    This component is called when we find a resource in the META-INF/*.xml pattern. We parse the resource and and the imports to the builder. Parsing is done with XSLT (first time I see the use of having XML for the Spring configuration files!).
    Author:
    aqute
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringComponent()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.lang.CharSequence> analyze​(java.io.InputStream in)  
      boolean analyzeJar​(Analyzer analyzer)
      This plugin is called after analysis.
      • Methods inherited from class java.lang.Object

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

      • SpringComponent

        public SpringComponent()
    • Method Detail

      • analyze

        public static java.util.Set<java.lang.CharSequence> analyze​(java.io.InputStream in)
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • analyzeJar

        public boolean analyzeJar​(Analyzer analyzer)
                           throws java.lang.Exception
        Description copied from interface: AnalyzerPlugin
        This plugin is called after analysis. The plugin is free to modify the jar and/or change the classpath information (see referred, contained). This plugin is called after analysis of the JAR but before manifest generation.
        Specified by:
        analyzeJar in interface AnalyzerPlugin
        Returns:
        true if the classpace has been modified so that the bundle classpath must be reanalyzed
        Throws:
        java.lang.Exception