Package aQute.lib.spring
Class SpringComponent
- java.lang.Object
-
- aQute.lib.spring.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!).
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.PatternQNprivate static java.util.regex.PatternSPRING_SOURCE(package private) static javax.xml.transform.Transformertransformer
-
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)booleananalyzeJar(Analyzer analyzer)This plugin is called after analysis.
-
-
-
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:AnalyzerPluginThis 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:
analyzeJarin interfaceAnalyzerPlugin- Returns:
- true if the classpace has been modified so that the bundle classpath must be reanalyzed
- Throws:
java.lang.Exception
-
-