Package | Description |
---|---|
org.apache.felix.scrplugin | |
org.apache.felix.scrplugin.annotations | |
org.apache.felix.scrplugin.helper | |
org.apache.felix.scrplugin.xml |
Modifier and Type | Method and Description |
---|---|
Result |
SCRDescriptorGenerator.execute()
Actually generates the Declarative Services and Metatype descriptors
scanning the java sources provided by the
SCRDescriptorGenerator.setProject(Project) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationProcessor.process(ScannedClass scannedClass,
ClassDescription describedClass)
Processes annotations from the provided scanned class and adds
descriptions to the object model based on the read annotations.
|
Modifier and Type | Method and Description |
---|---|
static void |
ClassModifier.addMethods(String className,
String referenceName,
String fieldName,
String typeName,
boolean createBind,
boolean createUnbind,
ClassLoader classLoader,
String outputDirectory,
Log logger)
Add bind/unbind methods
|
static Validator.MethodResult |
Validator.findLifecycleMethod(Project project,
ComponentContainer container,
String methodName,
boolean isActivate)
Find a lifecycle methods.
|
static Validator.MethodResult |
Validator.findMethod(Project project,
Options options,
ClassDescription cd,
ReferenceDescription ref,
String methodName)
Find the method and the required spec version
|
ClassDescription |
ClassScanner.getDescription(Class<?> clazz)
Get a description for the class
|
void |
AnnotationProcessorManager.process(ScannedClass scannedClass,
ClassDescription describedClass) |
List<ClassDescription> |
ClassScanner.scanSources()
Scan all source class files for annotations and process them.
|
void |
Validator.validate()
Validate the component description.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
ComponentDescriptorIO.generateDescriptorFiles(DescriptionContainer module,
Options options,
Log logger)
Generate descriptor file(s)
|
static List<String> |
MetaTypeIO.generateDescriptors(DescriptionContainer module,
Project project,
Options options,
Log logger) |
static List<ClassDescription> |
ComponentDescriptorIO.read(InputStream file,
ClassLoader classLoader,
IssueLog iLog,
String location) |
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.