public class SCRDescriptorBndPlugin
extends java.lang.Object
implements aQute.bnd.service.AnalyzerPlugin, aQute.bnd.service.Plugin
SCRDescriptorBndPlugin
class is a bnd
analyzer
plugin which generates a service descriptor file based on annotations found
in the sources.Constructor and Description |
---|
SCRDescriptorBndPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
analyzeJar(aQute.bnd.osgi.Analyzer analyzer)
Scan scr or ds annotation from the target jar.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Sets properties which can be specified in the "-plugin" directive.
|
void |
setReporter(aQute.service.reporter.Reporter reporter)
Sets the reporter for logging into the bnd logger.
|
public void setReporter(aQute.service.reporter.Reporter reporter)
setReporter
in interface aQute.bnd.service.Plugin
public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
setProperties
in interface aQute.bnd.service.Plugin
public boolean analyzeJar(aQute.bnd.osgi.Analyzer analyzer) throws java.lang.Exception
analyzeJar
in interface aQute.bnd.service.AnalyzerPlugin
java.lang.Exception
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.