- 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)
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.