Package aQute.lib.spring
Class SpringComponent
java.lang.Object
aQute.lib.spring.SpringComponent
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprivate static final Pattern
private static final Pattern
(package private) static Transformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<CharSequence>
analyze
(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
Methods inherited from interface aQute.bnd.service.AnalyzerPlugin
ordering
-
Field Details
-
transformer
-
SPRING_SOURCE
-
QN
-
-
Constructor Details
-
SpringComponent
public SpringComponent()
-
-
Method Details
-
analyze
- Throws:
Exception
-
analyzeJar
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 interfaceAnalyzerPlugin
- Returns:
- true if the classpace has been modified so that the bundle classpath must be reanalyzed
- Throws:
Exception
-