aQute.lib.spring
Class SpringComponent
java.lang.Object
aQute.lib.spring.SpringComponent
- All Implemented Interfaces:
- AnalyzerPlugin
public class SpringComponent
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringComponent
public SpringComponent()
analyze
public static Set<CharSequence> analyze(InputStream in)
throws Exception
- Throws:
Exception
analyzeJar
public boolean analyzeJar(Analyzer analyzer)
throws 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:
Exception
Copyright © 2012 aQute SARL. All Rights Reserved.