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

A

ABSTRACT_DESCRIPTOR_ARCHIV_PATH - Static variable in class org.apache.felix.scrplugin.helper.ClassScanner
The name of the file containing the scanned information from older SCR generator versions.
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
activate - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Activation method.
AD_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
AD_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
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.
additionalWarning - Variable in class org.apache.felix.scrplugin.helper.Validator.MethodResult
 
addMethods(String, 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
 
allDescriptions - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
All used component descriptions.
allProperties - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
All properties.
allReferences - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
All references.
annotatedField - Variable in class org.apache.felix.scrplugin.annotations.FieldAnnotation
Corresponding field in the class.
annotation - Variable in class org.apache.felix.scrplugin.description.AbstractDescription
The corresponding annotation from the class file.
annotationPrefix - Variable in class org.apache.felix.scrplugin.description.AbstractDescription
 
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.
aProcessor - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
The annotation processor.
ARRAY_PARAM_TYPE_NAME - Static variable in class org.apache.felix.scrplugin.helper.ClassScanner
With this syntax array parameters names are returned by reflection API
ArtifactFileInputStream(JarFile, JarEntry) - Constructor for class org.apache.felix.scrplugin.helper.ClassScanner.ArtifactFileInputStream
 
ATTR_CARDINALITY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ATTR_DESCRIPTION - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ATTR_LABEL - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ATTR_NAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
General attribute for the name (component, reference, property)

B

bind - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
bindMethodCreated - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 

C

cardinality - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
cardinality - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
cardinality - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
cardinalityString - Variable in enum org.apache.felix.scrplugin.description.ReferenceCardinality
 
characters(char[], int, int) - Method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
checkLifecycleMethod(String, boolean, boolean) - Method in class org.apache.felix.scrplugin.helper.Validator
Check for existence of lifecycle methods.
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
classDescription - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
The class description.
classesDirectory - Variable in class org.apache.felix.scrplugin.Project
 
classLoader - Variable in class org.apache.felix.scrplugin.Project
 
classLoader - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Classloader.
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.
ClassScanner.ArtifactFileInputStream - Class in org.apache.felix.scrplugin.helper
 
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
 
close() - Method in class org.apache.felix.scrplugin.helper.ClassScanner.ArtifactFileInputStream
 
COLUMN_NUMBER_UNKNOWN - Static variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
columnNumber - Variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
COMPONENT - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The component element.
COMPONENT_ATTR_ACTIVATE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The activate attribute.
COMPONENT_ATTR_CONFIGURATION_PID - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The configuration pid attribute.
COMPONENT_ATTR_DEACTIVATE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The deactivate attribute.
COMPONENT_ATTR_ENABLED - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The enabled attribute.
COMPONENT_ATTR_FACTORY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The factory attribute.
COMPONENT_ATTR_IMMEDIATE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The immediate attribute.
COMPONENT_ATTR_MODIFIED - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The modified attribute.
COMPONENT_ATTR_POLICY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Component: The policy attribute.
COMPONENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The qualified component element.
ComponentConfigurationPolicy - Enum in org.apache.felix.scrplugin.description
ComponentConfigurationPolicy() - Constructor for enum org.apache.felix.scrplugin.description.ComponentConfigurationPolicy
 
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
 
componentDescription - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
The component description.
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
 
COMPONENTS - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The root element.
components - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
The components container.
configurationPid - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Configuration PID (V1.2)
configurationPolicy - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Configuration policy.
container - Variable in class org.apache.felix.scrplugin.helper.Validator
 
containers - Variable in class org.apache.felix.scrplugin.helper.DescriptionContainer
The list of ComponentContainers.
convertToArray(List<?>, Class<T>) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
 
createComponent(ClassDescription, IssueLog) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Create the SCR objects based on the descriptions
createDs - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Create ds info
createMetatype - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Create metatype info.
createMethod(ClassWriter, String, String, String, String, String, boolean) - Static method in class org.apache.felix.scrplugin.helper.ClassModifier
 
currentClass - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
A reference to the current class.
currentComponent - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
A reference to the current component.
currentService - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
The current service.

D

deactivate - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Deactivation method.
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.
DEFAULT_TYPE - Static variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
defaultMultiValue - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
defaultValue - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
dependencies - Variable in class org.apache.felix.scrplugin.Project
 
deprecationWarnings - Variable in class org.apache.felix.scrplugin.helper.IssueLog
 
describedClass - Variable in class org.apache.felix.scrplugin.description.ClassDescription
The corresponding class.
description - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The description of the component.
description - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
description - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
description - Variable in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
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
descriptions - Variable in class org.apache.felix.scrplugin.annotations.ScannedClass
All found annotations .
descriptions - Variable in class org.apache.felix.scrplugin.description.ClassDescription
All descriptions.
DESIGNATE_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
DESIGNATE_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
detectMetatypeVersion(DescriptionContainer) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
Detect correct version to use.

E

enabled - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Is this component enabled?
endElement(String, String, String) - Method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
 
Entry(String, String) - Constructor for class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
Entry(String, String, int, int) - Constructor for class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
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.
errors - Variable in class org.apache.felix.scrplugin.helper.IssueLog
 
escapeDefaultValue(String) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
Escape the value according to 105.13.3.21 (validate method)
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)
extractAnnotation(ClassNode, Class<?>) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Extract annotations

F

factory - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The factory.
FACTORY - Static variable in class org.apache.felix.scrplugin.xml.IOUtils
The transformer factory.
factoryPid - Variable in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
field - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
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.
finalize() - Method in class org.apache.felix.scrplugin.helper.ClassScanner.ArtifactFileInputStream
 
findLifecycleMethod(Project, ComponentContainer, String, boolean) - Static method in class org.apache.felix.scrplugin.helper.Validator
Find a lifecycle methods.
findMethod(Project, Options, ClassDescription, ReferenceDescription, String) - Static method in class org.apache.felix.scrplugin.helper.Validator
Find the method and the required spec version
firstElement - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Flag for detecting the first element.
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

generateAccessors - Variable in class org.apache.felix.scrplugin.Options
Flag for generating accessor methods.
generateAttributeXML(MetatypeAttributeDefinition, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
GENERATED - Static variable in class org.apache.felix.scrplugin.helper.ClassScanner
Source for all generated descriptions.
generateDescriptorFiles(DescriptionContainer, Options, Log) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Generate descriptor file(s)
generateDescriptors(DescriptionContainer, Project, Options, Log) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
generateDesignateXML(MetatypeContainer, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
generateImplementationXML(ComponentContainer, ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for an Implementation.
generateMethods(ComponentContainer) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
 
generateObjectXML(MetatypeContainer, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
generateOCDXML(MetatypeContainer, ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
generatePropertyXML(PropertyDescription, ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a property.
generateReferenceXML(ComponentDescription, DescriptionContainer, ReferenceDescription, ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a Reference.
generateServiceXML(ServiceDescription, ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a service.
generateServiceXML(String, ContentHandler, int) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
Write the xml for a interface
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, int) - 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
 
getAllAnnotations(List<AnnotationNode>...) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Method is used to get both invisible (e.g.
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.
getComponentDescriptors() - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Returns a map of component descriptors which may be extended by the java sources.
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(File, String) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
 
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
 
getIdentifier() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
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
getManifest(File) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Get the manifest from the artifact.
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
getMethod(Project, ComponentContainer, String, String[]) - Static method in class org.apache.felix.scrplugin.helper.Validator
 
getMethod(ClassDescription, String, Class<?>[]) - Static method in class org.apache.felix.scrplugin.helper.Validator
 
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(OutputStream) - 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
 
hasValue(String) - Method in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
Check if a value exists for this annotation.

I

id - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
id - Variable in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
iLog - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
The issue log.
iLog - Variable in class org.apache.felix.scrplugin.helper.Validator
 
iLog - Variable in class org.apache.felix.scrplugin.SCRDescriptorGenerator
The issue log.
iLog - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
The issue log.
immediate - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Is this component immediately started.
IMPLEMENTATION - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
IMPLEMENTATION_ATTR_CLASS - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
IMPLEMENTATION_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
incremental - Variable in class org.apache.felix.scrplugin.Options
Is this an incremental build?
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.
INNER_NAMESPACE_URI - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
INTERFACE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
INTERFACE_ATTR_NAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
INTERFACE_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
interfaceName - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
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 - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Is this an abstract description?
isAbstract() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isBindMethodCreated() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
isComponent - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Flag for elements inside a component element
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
Deprecated.
Do not use this anymore
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 - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Does this inherit?
isInherit() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isPrivate - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
isPrivate() - Method in class org.apache.felix.scrplugin.description.PropertyDescription
 
isPrivateProperty(String) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
 
isServiceFactory - Variable in class org.apache.felix.scrplugin.description.ServiceDescription
Flag for service factory.
isServiceFactory() - Method in class org.apache.felix.scrplugin.description.ServiceDescription
 
isSetMetatypeFactoryPid - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The set metatype factory pid flag.
isSetMetatypeFactoryPid() - Method in class org.apache.felix.scrplugin.description.ComponentDescription
 
isSkipVolatileCheck() - Method in class org.apache.felix.scrplugin.Options
Should the check for volatile fields be skipped?
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
 
IssueLog.Entry - Class in org.apache.felix.scrplugin.helper
 
isUnbindMethodCreated() - Method in class org.apache.felix.scrplugin.description.ReferenceDescription
 
isWarnEnabled() - Method in interface org.apache.felix.scrplugin.Log
 

J

jarFile - Variable in class org.apache.felix.scrplugin.helper.ClassScanner.ArtifactFileInputStream
 

L

label - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The label of the component.
label - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
LINE_NUMBER_UNKNOWN - Static variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
lineNumber - Variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
loadedDependencies - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
Component descriptions loaded from dependencies
location - Variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
location - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
XML file location.
log - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
The log.
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.
logError(AbstractDescription, String) - Method in class org.apache.felix.scrplugin.helper.Validator
 
logger - Variable in class org.apache.felix.scrplugin.SCRDescriptorGenerator
 
logMessages(Log) - Method in class org.apache.felix.scrplugin.helper.IssueLog
 
logWarn(AbstractDescription, String) - Method in class org.apache.felix.scrplugin.helper.Validator
 

M

m_sourceLocation - Variable in exception org.apache.felix.scrplugin.SCRDescriptorException
 
message - Variable in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
METADATA_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
METADATA_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
metatype - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
Metatype container.
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
 
metatypeFiles - Variable in class org.apache.felix.scrplugin.Result
The list of metatype files.
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.annotations.MethodAnnotation
The annotated method.
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
 
modified - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
Modified method.
multiValue - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 

N

name - Variable in class org.apache.felix.scrplugin.annotations.ScannedAnnotation
The fully qualified class name
name - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The name of the component.
name - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
name - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
name - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
name - Variable in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
name - Variable in enum org.apache.felix.scrplugin.SpecVersion
internal human readable name
NAMESPACE_URI_10 - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
NAMESPACE_URI_12 - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
namespaceUrl - Variable in enum org.apache.felix.scrplugin.SpecVersion
Namespace url
NEW_LOCATION - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
newline(ContentHandler) - Static method in class org.apache.felix.scrplugin.xml.IOUtils
Helper method to create a new line.

O

OBJECT_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OBJECT_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OCD_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OCD_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OLD_LOCATION - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OPTION_ELEMENT - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
OPTION_ELEMENT_QNAME - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
options - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
options - Variable in class org.apache.felix.scrplugin.helper.DescriptionContainer
The options.
options - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
options - Variable in class org.apache.felix.scrplugin.helper.Validator
 
Options - Class in org.apache.felix.scrplugin
Options for the SCRDescriptorGenerator
Options() - Constructor for class org.apache.felix.scrplugin.Options
 
options - Variable in class org.apache.felix.scrplugin.SCRDescriptorGenerator
The 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
 
outputDirectory - Variable in class org.apache.felix.scrplugin.Options
The output directory for the generated files.
overrideNamespace - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Override namespace.

P

PARENT_NAME - Static variable in class org.apache.felix.scrplugin.Options
 
PARENT_NAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
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.
parseAnnotation(List<ScannedAnnotation>, AnnotationNode, Object) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Parse annotation and create a description.
pendingProperty - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Pending property.
policy - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
policyOption - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
PREFIX - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
The prefix used for the namespace.
PREFIX - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
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
 
process(Class<?>, Source, List<ClassDescription>) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Process a class
processClass(Class<?>, String) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Scan a single class.
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.
processedSourceFiles - Variable in class org.apache.felix.scrplugin.Result
The list of processed source files.
processGlobalProperties(ClassDescription, Map<String, PropertyDescription>) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Add global properties (if not already defined in the component)
processors - Variable in class org.apache.felix.scrplugin.helper.AnnotationProcessorManager
Ordered list of processors
processProperties(ClassDescription, ComponentContainer, MetatypeContainer) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Process property directives
processReferences(ClassDescription, ComponentContainer) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Process reference directives
processServices(ClassDescription, ComponentContainer) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Process service directives
project - Variable in class org.apache.felix.scrplugin.helper.ClassScanner
The project.
project - Variable in class org.apache.felix.scrplugin.helper.Validator
 
Project - Class in org.apache.felix.scrplugin
Project description for the SCRDescriptorGenerator
Project() - Constructor for class org.apache.felix.scrplugin.Project
 
project - Variable in class org.apache.felix.scrplugin.SCRDescriptorGenerator
The project.
properties - Variable in class org.apache.felix.scrplugin.helper.MetatypeContainer
 
properties - Variable in class org.apache.felix.scrplugin.Options
Map of global properties.
PROPERTIES - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
PROPERTY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
PROPERTY_ATTR_PRIVATE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
PROPERTY_ATTR_TYPE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
PROPERTY_ATTR_VALUE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
PROPERTY_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
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
 
PropertyType() - Constructor for enum org.apache.felix.scrplugin.description.PropertyType
 
PropertyUnbounded - Enum in org.apache.felix.scrplugin.description
PropertyUnbounded() - Constructor for enum org.apache.felix.scrplugin.description.PropertyUnbounded
 
PROPS_FILE - Static variable in class org.apache.felix.scrplugin.xml.MetaTypeIO
 
propsAndRefs - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Properties.

R

read(InputStream, ClassLoader, IssueLog, String) - Static method in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
readServiceComponentDescriptor(InputStream, String) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Parses the descriptors read from the given input stream.
readServiceComponentDescriptor(File, String) - Method in class org.apache.felix.scrplugin.helper.ClassScanner
Read the service component description.
REFERENCE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_BIND - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_POLICY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_POLICY_OPTION - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_STRATEGY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_TARGET - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_UNBIND - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_ATTR_UPDATED - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
REFERENCE_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
ReferenceCardinality - Enum in org.apache.felix.scrplugin.description
ReferenceCardinality(String) - Constructor for enum org.apache.felix.scrplugin.description.ReferenceCardinality
 
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
ReferencePolicy() - Constructor for enum org.apache.felix.scrplugin.description.ReferencePolicy
 
ReferencePolicyOption - Enum in org.apache.felix.scrplugin.description
ReferencePolicyOption() - Constructor for enum org.apache.felix.scrplugin.description.ReferencePolicyOption
 
ReferenceStrategy - Enum in org.apache.felix.scrplugin.description
ReferenceStrategy() - Constructor for enum org.apache.felix.scrplugin.description.ReferenceStrategy
 
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
scannedClass - Variable in class org.apache.felix.scrplugin.annotations.ScannedClass
The scanned class.
scanner - Variable in class org.apache.felix.scrplugin.SCRDescriptorGenerator
The annotation scanner.
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.
scrFiles - Variable in class org.apache.felix.scrplugin.Result
The list of scr files.
serialVersionUID - Static variable in exception org.apache.felix.scrplugin.SCRDescriptorException
 
serialVersionUID - Static variable in exception org.apache.felix.scrplugin.SCRDescriptorFailureException
 
SERVICE - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
SERVICE_ATTR_FACTORY - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
SERVICE_COMPONENT - Static variable in class org.apache.felix.scrplugin.helper.ClassScanner
The name of the Bundle manifest header providing the list of service component descriptor files.
SERVICE_QNAME - Static variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO
 
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
 
serviceDescription - Variable in class org.apache.felix.scrplugin.helper.ComponentContainer
The service description (optional).
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
 
setBindMethodCreated(boolean) - 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
Deprecated.
Do not use this anymore
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
 
setSkipVolatileCheck(boolean) - Method in class org.apache.felix.scrplugin.Options
Set whether the check should be skipped
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
 
setUnbindMethodCreated(boolean) - 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
 
skipVolatileCheck - Variable in class org.apache.felix.scrplugin.Options
Skip volatile check.
source - Variable in class org.apache.felix.scrplugin.description.ClassDescription
The source (file) of the class or any other location information.
Source - Interface in org.apache.felix.scrplugin
Description of a source to be parsed.
sourceLocation - Variable in class org.apache.felix.scrplugin.description.AbstractDescription
 
sources - Variable in class org.apache.felix.scrplugin.Project
 
specVersion - Variable in class org.apache.felix.scrplugin.description.ComponentDescription
The spec version.
specVersion - Variable in class org.apache.felix.scrplugin.Options
The requested spec version.
SpecVersion - Enum in org.apache.felix.scrplugin
An enumeration for all available spec versions.
SpecVersion(String, String) - Constructor for enum org.apache.felix.scrplugin.SpecVersion
Create a type
specVersion - Variable in class org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
Spec version.
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
 
strategy - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
strictMode - Variable in class org.apache.felix.scrplugin.helper.IssueLog
 
strictMode - Variable in class org.apache.felix.scrplugin.Options
Flag for strict mode.
StringUtils - Class in org.apache.felix.scrplugin.helper
Some string utilities.
StringUtils() - Constructor for class org.apache.felix.scrplugin.helper.StringUtils
 

T

target - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
testProperty(ClassDescription, Map<String, PropertyDescription>, PropertyDescription, boolean) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Test a newly found property
testReference(ClassDescription, Map<String, ReferenceDescription>, ReferenceDescription, boolean) - Method in class org.apache.felix.scrplugin.SCRDescriptorGenerator
Test a newly found reference
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
 
toString() - Method in class org.apache.felix.scrplugin.helper.IssueLog.Entry
 
type - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
type - Variable in class org.apache.felix.scrplugin.helper.MetatypeAttributeDefinition
 
TYPE_BUNDLE_CONTEXT - Static variable in class org.apache.felix.scrplugin.helper.Validator
 
TYPE_COMPONENT_CONTEXT - Static variable in class org.apache.felix.scrplugin.helper.Validator
 
TYPE_INT - Static variable in class org.apache.felix.scrplugin.helper.Validator
 
TYPE_INTEGER - Static variable in class org.apache.felix.scrplugin.helper.Validator
 
TYPE_MAP - Static variable in class org.apache.felix.scrplugin.helper.Validator
 
TYPE_SERVICE_REFERENCE - Static variable in class org.apache.felix.scrplugin.helper.Validator
 

U

unbind - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
unbindMethodCreated - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 
unbounded - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
updated - Variable in class org.apache.felix.scrplugin.description.ReferenceDescription
 

V

validate() - Method in class org.apache.felix.scrplugin.helper.Validator
Validate the component description.
validateMethod(ReferenceDescription, String, boolean) - Method in class org.apache.felix.scrplugin.helper.Validator
 
validateProperty(PropertyDescription) - Method in class org.apache.felix.scrplugin.helper.Validator
Validate the property.
validateReference(ReferenceDescription, boolean) - Method in class org.apache.felix.scrplugin.helper.Validator
Validate the reference.
validateService(ServiceDescription) - Method in class org.apache.felix.scrplugin.helper.Validator
Validate the service and its interfaces If errors occur a message is added to the issues list, warnings can be added to the warnings list.
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
 
value - Variable in class org.apache.felix.scrplugin.description.PropertyDescription
 
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.
warnings - Variable in class org.apache.felix.scrplugin.helper.IssueLog
 
write(DescriptionContainer, List<ComponentContainer>, File, String) - Static method in class org.apache.felix.scrplugin.xml.MetaTypeIO
Generate the xml top level element and start streaming the meta data.

X

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