aQute.bnd.make.component
Class ServiceComponent

java.lang.Object
  extended by aQute.bnd.make.component.ServiceComponent
All Implemented Interfaces:
AnalyzerPlugin

public class ServiceComponent
extends Object
implements AnalyzerPlugin

This class is an analyzer plugin. It looks at the properties and tries to find out if the Service-Component header contains the bnd shortut syntax. If not, the header is copied to the output, if it does, an XML file is created and added to the JAR and the header is modified appropriately.


Constructor Summary
ServiceComponent()
           
 
Method Summary
 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

ServiceComponent

public ServiceComponent()
Method Detail

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.