Skip navigation links
A C D E F G H I L M N O P R S T V W X 

A

AbstractDescription - Class in org.apache.felix.scrplugin.description
AbstractDescription is the base class for all descriptions.
AbstractDescription(ScannedAnnotation) - Constructor for class org.apache.felix.scrplugin.description.AbstractDescription
Create a new abstract description
add(AbstractDescription) - Method in class org.apache.felix.scrplugin.description.ClassDescription
Add a new description
add(ComponentContainer) - Method in class org.apache.felix.scrplugin.helper.DescriptionContainer
Add a container to the list.
addAttribute(AttributesImpl, String, Object) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Helper method to add an attribute.
addDeprecationWarning(String, String) - Method in class org.apache.felix.scrplugin.helper.IssueLog
 
addError(String, String) - Method in class org.apache.felix.scrplugin.helper.IssueLog
 
addInterface(String) - Method in class org.apache.felix.scrplugin.description.ServiceDescription
Add an interface to the list of interfaces.
addMethods(String, String, String, String, boolean, boolean, ClassLoader, String, Log) - Static method in class org.apache.felix.scrplugin.helper.ClassModifier
Add bind/unbind methods
addProcessedSourceFile(String) - Method in class org.apache.felix.scrplugin.Result
Adds a source file to the list of processed source files
addWarning(String, String) - Method in class org.apache.felix.scrplugin.helper.IssueLog
 
annotation - Variable in class org.apache.felix.scrplugin.description.AbstractDescription
The corresponding annotation from the class file.
AnnotationProcessor - Interface in org.apache.felix.scrplugin.annotations
This service provides a plugin for annotation processing.
AnnotationProcessorManager - Class in org.apache.felix.scrplugin.helper
Supports mapping of built-in and custom java annotations to descriptions.
AnnotationProcessorManager(Log, ClassLoader) - Constructor for class org.apache.felix.scrplugin.helper.AnnotationProcessorManager
Create annotation processor manager.

C

characters(char[], int, int) - Method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
ClassAnnotation - Class in org.apache.felix.scrplugin.annotations
A class annotation
ClassAnnotation(String, Map<String, Object>) - Constructor for class org.apache.felix.scrplugin.annotations.ClassAnnotation
Constructor.
ClassDescription - Class in org.apache.felix.scrplugin.description
A ClassDescription is describing the found annotations of a class.
ClassDescription(Class<?>, String) - Constructor for class org.apache.felix.scrplugin.description.ClassDescription
Create a new class description
ClassModifier - Class in org.apache.felix.scrplugin.helper
Helper class for injecting/generating accessor methods for unary references.
ClassModifier() - Constructor for class org.apache.felix.scrplugin.helper.ClassModifier
 
className - Variable in class org.apache.felix.scrplugin.helper.ComponentContainerUtil.ComponentContainerContainer
 
ClassScanner - Class in org.apache.felix.scrplugin.helper
The class scanner scans class files for annotations and invokes the AnnotationProcessor on each scanned class file.
ClassScanner(Log, IssueLog, Project, AnnotationProcessor) - Constructor for class org.apache.felix.scrplugin.helper.ClassScanner
Create a new scanner.
clone() - Method in class org.apache.felix.scrplugin.description.AbstractDescription
 
clone() - Method in class org.apache.felix.scrplugin.description.ClassDescription
 
clone() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
clone() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
clone() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
clone() - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
ComponentConfigurationPolicy - Enum in org.apache.felix.scrplugin.description
ComponentContainer - Class in org.apache.felix.scrplugin.helper
A ComponentContainer contains all relevant information about a component: - the class descriptor - the component descriptor - the service descriptor - reference descriptors - property descriptors
ComponentContainer(ClassDescription, ComponentDescription) - Constructor for class org.apache.felix.scrplugin.helper.ComponentContainer
Create a new component container
ComponentContainerContainer() - Constructor for class org.apache.felix.scrplugin.helper.ComponentContainerUtil.ComponentContainerContainer
 
ComponentContainerUtil - Class in org.apache.felix.scrplugin.helper
 
ComponentContainerUtil() - Constructor for class org.apache.felix.scrplugin.helper.ComponentContainerUtil
 
ComponentContainerUtil.ComponentContainerContainer - Class in org.apache.felix.scrplugin.helper
 
ComponentDescription - Class in org.apache.felix.scrplugin.description
ComponentDescription is a described component.
ComponentDescription(ScannedAnnotation) - Constructor for class org.apache.felix.scrplugin.description.ComponentDescription
 
ComponentDescriptorIO - Class in org.apache.felix.scrplugin.xml
ComponentDescriptorIO is a helper class to read and write component descriptor files.
ComponentDescriptorIO() - Constructor for class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ComponentDescriptorIO.XmlHandler - Class in org.apache.felix.scrplugin.xml
A content handler for parsing the component descriptions.
components - Variable in class org.apache.felix.scrplugin.helper.ComponentContainerUtil.ComponentContainerContainer
 

D

debug(String) - Method in interface org.apache.felix.scrplugin.Log
Send a message to the user in the debug error level.
debug(String, Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the debug error level.
debug(Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send an exception to the user in the debug error level.
DescriptionContainer - Class in org.apache.felix.scrplugin.helper
The description container holds all ComponentContainers.
DescriptionContainer(Options) - Constructor for class org.apache.felix.scrplugin.helper.DescriptionContainer
Constructor

E

endElement(String, String, String) - Method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
error(String) - Method in interface org.apache.felix.scrplugin.Log
Send a message to the user in the error error level.
error(String, String, int) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the error error level.
error(String, String, int, int) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the error error level.
error(String, Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the error error level.
error(Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send an exception to the user in the error error level.
execute() - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Actually generates the Declarative Services and Metatype descriptors scanning the java sources provided by the SCRDescriptorGenerator.setProject(Project)

F

FieldAnnotation - Class in org.apache.felix.scrplugin.annotations
A field annotation
FieldAnnotation(String, Map<String, Object>, Field) - Constructor for class org.apache.felix.scrplugin.annotations.FieldAnnotation
Constructor.
findMethod(Project, Options, ClassDescription, ReferenceDescription, String) - Static method in class org.apache.felix.scrplugin.helper.Validator
Find the method and the required spec version
from(Class<?>) - Static method in enum org.apache.felix.scrplugin.description.PropertyType
 
fromName(String) - Static method in enum org.apache.felix.scrplugin.SpecVersion
Creates a version for the given name.
fromNamespaceUrl(String) - Static method in enum org.apache.felix.scrplugin.SpecVersion
Creates a version for the given url.
fromValue(String) - Static method in enum org.apache.felix.scrplugin.description.ReferenceCardinality
 

G

generateDescriptorFiles(DescriptionContainer, Options, Log) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Generate descriptor file(s)
generateDescriptors(DescriptionContainer, Options, Log) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
generateImplementationXML(ComponentContainer, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for an Implementation.
generatePropertyXML(PropertyDescription, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a property.
generateReferenceXML(ComponentDescription, DescriptionContainer, ReferenceDescription, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a Reference.
generateServiceXML(ServiceDescription, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a service.
generateXML(DescriptionContainer, List<ComponentContainer>, File, Log) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Generate the xml top level element and start streaming the components.
generateXML(String, DescriptionContainer, ComponentContainer, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a Component
getActivate() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getAnnotatedField() - Method in class org.apache.felix.scrplugin.annotations.FieldAnnotation
Get the annotated field.
getAnnotatedFieldValue() - Method in class org.apache.felix.scrplugin.annotations.FieldAnnotation
Get the initial value of the value if this is a static field.
getAnnotatedMethod() - Method in class org.apache.felix.scrplugin.annotations.MethodAnnotation
Get the annotated method.
getAnnotation() - Method in class org.apache.felix.scrplugin.description.AbstractDescription
Get the annotation.
getBind() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getBooleanValue(String, boolean) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get a boolean value of the annotation
getCardinality() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getCardinality() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getCardinality() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getCardinalityString() - Method in enum org.apache.felix.scrplugin.description.ReferenceCardinality
 
getClassAnnotations(String) - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Get all class annotations
getClassDescription() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Get the class description
getClassesDirectory() - Method in class org.apache.felix.scrplugin.Project
 
getClassLoader() - Method in class org.apache.felix.scrplugin.Project
 
getClassName() - Method in interface org.apache.felix.scrplugin.Source
The main class name.
getComponentDescription() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Get the component description
getComponentDescriptorDirectory() - Method in class org.apache.felix.scrplugin.Options
Convenience method to get the component descriptor directory.
getComponents() - Method in class org.apache.felix.scrplugin.helper.DescriptionContainer
Return the list of ComponentContainers.
getConfigurationPid() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getConfigurationPolicy() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getDeactivate() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getDefaultMultiValue() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getDefaultValue() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getDependencies() - Method in class org.apache.felix.scrplugin.Project
 
getDescribedClass() - Method in class org.apache.felix.scrplugin.description.ClassDescription
Get the associated class.
getDescription(Class<T>) - Method in class org.apache.felix.scrplugin.description.ClassDescription
Get the first description of that type
getDescription() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getDescription() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getDescription(Class<?>) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Get a description for the class
getDescription() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getDescription() - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
getDescriptions(Class<T>) - Method in class org.apache.felix.scrplugin.description.ClassDescription
Get all descriptions of that type.
getEnabled() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getEnumValue(String, String) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get an enumeration value of the annotation
getFactory() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getFactoryPid() - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
getField() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getFieldAnnotations(String) - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Get all field annotations
getFile() - Method in interface org.apache.felix.scrplugin.Source
The file containing the class.
getId() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getId() - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
getIdentifier() - Method in class org.apache.felix.scrplugin.description.AbstractDescription
 
getImmediate() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getIntegerValue(String, int) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get an integer value of the annotation
getInterfaceName() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getInterfaces() - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
getLabel() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getLabel() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getLongValue(String, long) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get a long value of the annotation
getMetatypeContainer() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
 
getMetaTypeDirectory() - Method in class org.apache.felix.scrplugin.Options
Convenience method to get the meta type directory.
getMetatypeFiles() - Method in class org.apache.felix.scrplugin.Result
Return a list of generated metatype files
getMethodAnnotations(String) - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Get all method annotations
getModified() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getMultiValue() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getName() - Method in interface org.apache.felix.scrplugin.annotations.AnnotationProcessor
A user friendly name
getName() - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get the fully qualified class name of the annotation.
getName() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getName() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getName() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getName() - Method in class org.apache.felix.scrplugin.helper.AnnotationProcessorManager
 
getName() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getName() - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
getName() - Method in enum org.apache.felix.scrplugin.SpecVersion
Returns the human readable type name of this type.
getNamespaceUrl() - Method in enum org.apache.felix.scrplugin.SpecVersion
Return the namespace url.
getNumberOfErrors() - Method in class org.apache.felix.scrplugin.helper.IssueLog
 
getOptions() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getOptions() - Method in class org.apache.felix.scrplugin.helper.DescriptionContainer
Get the options
getOptions() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getOutputDirectory() - Method in class org.apache.felix.scrplugin.Options
 
getPolicy() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getPolicyOption() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getProcessedSourceFiles() - Method in class org.apache.felix.scrplugin.Result
Returns a list of processed source files
getProperties() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Get all properties.
getProperties() - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
getProperties() - Method in class org.apache.felix.scrplugin.Options
 
getRanking() - Method in interface org.apache.felix.scrplugin.annotations.AnnotationProcessor
The ranking of this processor.
getRanking() - Method in class org.apache.felix.scrplugin.helper.AnnotationProcessorManager
 
getReferences() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Get all references.
getScannedClass() - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Get the scanned class.
getScrFiles() - Method in class org.apache.felix.scrplugin.Result
Return a list of generated scr files
getSerializer(File) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Get a serializer to write XML to a file.
getServiceDescription() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Get the service description.
getSimpleName() - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get the simple name of the annotation
getSource() - Method in class org.apache.felix.scrplugin.description.AbstractDescription
 
getSource() - Method in class org.apache.felix.scrplugin.description.ClassDescription
Get the location information like the source file etc.
getSourceLocation() - Method in exception org.apache.felix.scrplugin.SCRDescriptorException
 
getSources() - Method in class org.apache.felix.scrplugin.Project
 
getSpecVersion() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
getSpecVersion() - Method in class org.apache.felix.scrplugin.Options
 
getStrategy() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getStringValue(String, String) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get a string value of the annotation
getTarget() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getType() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getType() - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
getUnbind() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getUnbounded() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
getUpdated() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
getValue(String) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Get a property value of the annotation.
getValue() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 

H

hasErrors() - Method in class org.apache.felix.scrplugin.helper.IssueLog
 

I

indent(ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Helper method to indent the xml elements.
info(String) - Method in interface org.apache.felix.scrplugin.Log
Send a message to the user in the info error level.
info(String, Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the info error level.
info(Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send an exception to the user in the info error level.
INNER_NAMESPACE_URI - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The inner namespace - used for all inner elements.
interfaces - Variable in class org.apache.felix.scrplugin.description.ServiceDescription
The list of implemented interfaces.
IOUtils - Class in org.apache.felix.scrplugin.xml
Utility class for xml/sax handling.
IOUtils() - Constructor for class org.apache.felix.scrplugin.xml.IOUtils
 
isAbstract() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isCreateDs() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isCreateMetatype() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isCreatePid() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isDebugEnabled() - Method in interface org.apache.felix.scrplugin.Log
 
isEmpty(String) - Static method in class org.apache.felix.scrplugin.helper.StringUtils
 
isErrorEnabled() - Method in interface org.apache.felix.scrplugin.Log
 
isGenerateAccessors() - Method in class org.apache.felix.scrplugin.Options
 
isIncremental() - Method in class org.apache.felix.scrplugin.Options
Is this an incremental build
isInfoEnabled() - Method in interface org.apache.felix.scrplugin.Log
 
isInherit() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isPrivate() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
isServiceFactory() - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
isSetMetatypeFactoryPid() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isStrictMode() - Method in class org.apache.felix.scrplugin.Options
 
IssueLog - Class in org.apache.felix.scrplugin.helper
Utility class for handling errors and warnings
IssueLog(boolean) - Constructor for class org.apache.felix.scrplugin.helper.IssueLog
 
isWarnEnabled() - Method in interface org.apache.felix.scrplugin.Log
 

L

Log - Interface in org.apache.felix.scrplugin
This interface supplies the API for providing feedback to the user from SCR descriptor generation process using whatever means is implemented.
logMessages(Log) - Method in class org.apache.felix.scrplugin.helper.IssueLog
 

M

MetatypeAttributeDefinition - Class in org.apache.felix.scrplugin.helper
 
MetatypeAttributeDefinition() - Constructor for class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
MetatypeContainer - Class in org.apache.felix.scrplugin.helper
 
MetatypeContainer() - Constructor for class org.apache.felix.scrplugin.helper.MetatypeContainer
 
MetaTypeIO - Class in org.apache.felix.scrplugin.xml
MetaType is a helper class to read and write meta type service files.
MetaTypeIO() - Constructor for class org.apache.felix.scrplugin.xml.MetaTypeIO
 
method - Variable in class org.apache.felix.scrplugin.helper.Validator.MethodResult
 
MethodAnnotation - Class in org.apache.felix.scrplugin.annotations
A method annotation
MethodAnnotation(String, Map<String, Object>, Method) - Constructor for class org.apache.felix.scrplugin.annotations.MethodAnnotation
Constructor
MethodResult() - Constructor for class org.apache.felix.scrplugin.helper.Validator.MethodResult
 

N

name - Variable in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
The fully qualified class name
newline(ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Helper method to create a new line.

O

Options - Class in org.apache.felix.scrplugin
Options for the SCRDescriptorGenerator
Options() - Constructor for class org.apache.felix.scrplugin.Options
 
org.apache.felix.scrplugin - package org.apache.felix.scrplugin
 
org.apache.felix.scrplugin.annotations - package org.apache.felix.scrplugin.annotations
 
org.apache.felix.scrplugin.description - package org.apache.felix.scrplugin.description
 
org.apache.felix.scrplugin.helper - package org.apache.felix.scrplugin.helper
 
org.apache.felix.scrplugin.xml - package org.apache.felix.scrplugin.xml
 

P

parse(InputStream, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Parse a file and send the sax events to the content handler.
process(ScannedClass, ClassDescription) - Method in interface org.apache.felix.scrplugin.annotations.AnnotationProcessor
Processes annotations from the provided scanned class and adds descriptions to the object model based on the read annotations.
process(ScannedClass, ClassDescription) - Method in class org.apache.felix.scrplugin.helper.AnnotationProcessorManager
 
processed(ScannedAnnotation) - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Mark an annotation as processed.
processed(Collection<? extends ScannedAnnotation>) - Method in class org.apache.felix.scrplugin.annotations.ScannedClass
Mark several annotations as processed.
Project - Class in org.apache.felix.scrplugin
Project description for the SCRDescriptorGenerator
Project() - Constructor for class org.apache.felix.scrplugin.Project
 
PropertyDescription - Class in org.apache.felix.scrplugin.description
A PropertyDescription describes a property of a component.
PropertyDescription(ScannedAnnotation) - Constructor for class org.apache.felix.scrplugin.description.PropertyDescription
 
PropertyType - Enum in org.apache.felix.scrplugin.description
 
PropertyUnbounded - Enum in org.apache.felix.scrplugin.description

R

read(InputStream, ClassLoader, IssueLog, String) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ReferenceCardinality - Enum in org.apache.felix.scrplugin.description
ReferenceDescription - Class in org.apache.felix.scrplugin.description
A ReferenceDescription describes a reference from a component to another service.
ReferenceDescription(ScannedAnnotation) - Constructor for class org.apache.felix.scrplugin.description.ReferenceDescription
 
ReferencePolicy - Enum in org.apache.felix.scrplugin.description
ReferencePolicyOption - Enum in org.apache.felix.scrplugin.description
ReferenceStrategy - Enum in org.apache.felix.scrplugin.description
requiredSpecVersion - Variable in class org.apache.felix.scrplugin.helper.Validator.MethodResult
 
Result - Class in org.apache.felix.scrplugin
The result of the SCRDescriptorGenerator.
Result() - Constructor for class org.apache.felix.scrplugin.Result
 

S

ScannedAnnotation - Class in org.apache.felix.scrplugin.annotations
Base class for all annotation.
ScannedAnnotation(String, Map<String, Object>) - Constructor for class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Create a new description
ScannedClass - Class in org.apache.felix.scrplugin.annotations
A scanned class contains all scanned information like the found annotations.
ScannedClass(List<ScannedAnnotation>, Class<?>) - Constructor for class org.apache.felix.scrplugin.annotations.ScannedClass
Constructor
scanSources() - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Scan all source class files for annotations and process them.
SCRDescriptorException - Exception in org.apache.felix.scrplugin
 
SCRDescriptorException(String, String) - Constructor for exception org.apache.felix.scrplugin.SCRDescriptorException
 
SCRDescriptorException(String, Throwable) - Constructor for exception org.apache.felix.scrplugin.SCRDescriptorException
 
SCRDescriptorException(String, String, Throwable) - Constructor for exception org.apache.felix.scrplugin.SCRDescriptorException
 
SCRDescriptorFailureException - Exception in org.apache.felix.scrplugin
 
SCRDescriptorFailureException(String) - Constructor for exception org.apache.felix.scrplugin.SCRDescriptorFailureException
 
SCRDescriptorFailureException(String, Throwable) - Constructor for exception org.apache.felix.scrplugin.SCRDescriptorFailureException
 
SCRDescriptorGenerator - Class in org.apache.felix.scrplugin
The SCRDescriptorGenerator class does the hard work of generating the SCR descriptors.
SCRDescriptorGenerator(Log) - Constructor for class org.apache.felix.scrplugin.SCRDescriptorGenerator
Create an instance of this generator using the given Log instance of logging.
ServiceDescription - Class in org.apache.felix.scrplugin.description
If a component is a service, the ClassDescription should contain a ServiceDescription.
ServiceDescription(ScannedAnnotation) - Constructor for class org.apache.felix.scrplugin.description.ServiceDescription
 
setAbstract(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setActivate(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setBind(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setCardinality(int) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setCardinality(ReferenceCardinality) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setCardinality(Integer) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setClassesDirectory(String) - Method in class org.apache.felix.scrplugin.Project
 
setClassLoader(ClassLoader) - Method in class org.apache.felix.scrplugin.Project
 
setConfigurationPid(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setConfigurationPolicy(ComponentConfigurationPolicy) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setCreateDs(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setCreateMetatype(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setCreatePid(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setDeactivate(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setDefaultMultiValue(String[]) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setDefaultValue(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setDependencies(Collection<File>) - Method in class org.apache.felix.scrplugin.Project
 
setDescription(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setDescription(String) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setDescription(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setDescription(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
setEnabled(Boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setFactory(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setFactoryPid(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
setField(Field) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setGenerateAccessors(boolean) - Method in class org.apache.felix.scrplugin.Options
Defines whether bind and unbind methods are automatically created by the SCR descriptor generator.
setId(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setId(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
setImmediate(Boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setIncremental(boolean) - Method in class org.apache.felix.scrplugin.Options
Set whether this is an incremental build
setInherit(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setInterfaceName(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setLabel(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setLabel(String) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setMetatypeContainer(MetatypeContainer) - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
 
setMetatypeFiles(List<String>) - Method in class org.apache.felix.scrplugin.Result
Set the list of metatype files
setModified(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setMultiValue(String[]) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setName(String) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setName(String) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setName(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setName(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setName(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
setOptions(String[]) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setOptions(Map<String, String>) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setOptions(Options) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Set the options.
setOutputDirectory(File) - Method in class org.apache.felix.scrplugin.Options
Sets the directory where the descriptor files will be created.
setPolicy(ReferencePolicy) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setPolicyOption(ReferencePolicyOption) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setPrivate(Boolean) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setProject(Project) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Set the project.
setProperties(Map<String, String>) - Method in class org.apache.felix.scrplugin.Options
Sets global properties to be set for each descriptor.
setScrFiles(List<String>) - Method in class org.apache.felix.scrplugin.Result
Set the list of scr files
setServiceDescription(ServiceDescription) - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
Set the service description
setServiceFactory(boolean) - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
setSetMetatypeFactoryPid(boolean) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setSource(String) - Method in class org.apache.felix.scrplugin.description.AbstractDescription
 
setSources(Collection<Source>) - Method in class org.apache.felix.scrplugin.Project
 
setSpecVersion(SpecVersion) - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
setSpecVersion(SpecVersion) - Method in class org.apache.felix.scrplugin.Options
Sets the Declarative Services specification version number to be forced on the declarations.
setStrategy(ReferenceStrategy) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setStrictMode(boolean) - Method in class org.apache.felix.scrplugin.Options
Defines whether warnings should be considered as errors and thus cause the generation process to fail.
setTarget(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setType(PropertyType) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setType(String) - Method in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
setUnbind(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setUnbounded(PropertyUnbounded) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
setUpdated(String) - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
setValue(String) - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
Source - Interface in org.apache.felix.scrplugin
Description of a source to be parsed.
SpecVersion - Enum in org.apache.felix.scrplugin
An enumeration for all available spec versions.
split(List<ComponentContainer>) - Static method in class org.apache.felix.scrplugin.helper.ComponentContainerUtil
Split the list of components into separate lists depending on the configuration.
startElement(String, String, String, Attributes) - Method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
StringUtils - Class in org.apache.felix.scrplugin.helper
Some string utilities.
StringUtils() - Constructor for class org.apache.felix.scrplugin.helper.StringUtils
 

T

text(ContentHandler, String) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Helper method writing out a string.
toString() - Method in class org.apache.felix.scrplugin.annotations.ClassAnnotation
 
toString() - Method in class org.apache.felix.scrplugin.annotations.FieldAnnotation
 
toString() - Method in class org.apache.felix.scrplugin.annotations.MethodAnnotation
 
toString() - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
 
toString() - Method in class org.apache.felix.scrplugin.description.ClassDescription
 
toString() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
toString() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
toString() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
toString() - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
toString() - Method in class org.apache.felix.scrplugin.helper.ComponentContainer
 
toString() - Method in class org.apache.felix.scrplugin.helper.DescriptionContainer
 

V

validate() - Method in class org.apache.felix.scrplugin.helper.Validator
Validate the component description.
Validator - Class in org.apache.felix.scrplugin.helper
 
Validator(ComponentContainer, Project, Options, IssueLog) - Constructor for class org.apache.felix.scrplugin.helper.Validator
 
Validator.MethodResult - Class in org.apache.felix.scrplugin.helper
 
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.ComponentConfigurationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.PropertyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.PropertyUnbounded
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.ReferenceCardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.ReferencePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.ReferencePolicyOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.description.ReferenceStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.felix.scrplugin.SpecVersion
Returns the enum constant of this type with the specified name.
values - Variable in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
The annotation values.
values() - Static method in enum org.apache.felix.scrplugin.description.ComponentConfigurationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.PropertyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.PropertyUnbounded
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.ReferenceCardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.ReferencePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.ReferencePolicyOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.description.ReferenceStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.felix.scrplugin.SpecVersion
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String) - Method in interface org.apache.felix.scrplugin.Log
Send a message to the user in the warn error level.
warn(String, String, int) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the warn error level.
warn(String, String, int, int) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the warn error level.
warn(String, Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send a message (and accompanying exception) to the user in the warn error level.
warn(Throwable) - Method in interface org.apache.felix.scrplugin.Log
Send an exception to the user in the warn error level.

X

XmlHandler(ClassLoader, IssueLog, String) - Constructor for class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
A C D E F G H I L M N O P R S T V W X 
Skip navigation links

Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.