Return-Path: X-Original-To: apmail-felix-commits-archive@www.apache.org Delivered-To: apmail-felix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24980E001 for ; Sat, 26 Jan 2013 22:55:45 +0000 (UTC) Received: (qmail 52327 invoked by uid 500); 26 Jan 2013 22:55:45 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 52294 invoked by uid 500); 26 Jan 2013 22:55:45 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 52287 invoked by uid 99); 26 Jan 2013 22:55:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 22:55:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 22:55:34 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 35CF72388A56 for ; Sat, 26 Jan 2013 22:55:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r848100 [2/2] - in /websites/staging/felix/trunk/content: ./ documentation/faqs/ documentation/subprojects/ documentation/subprojects/apache-felix-maven-scr-plugin/ site/ Date: Sat, 26 Jan 2013 22:55:12 -0000 To: commits@felix.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130126225513.35CF72388A56@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html ============================================================================== --- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html (original) +++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html Sat Jan 26 22:55:12 2013 @@ -67,11 +67,6 @@ -
- This page is a translated version of /site/scr-annotations.html. In case of - doubt you might want to refer to the old page. -
-

SCR Annotations

The maven-scr-plugin uses the SCR annotations from the corresponding subproject at Apache Felix. All annotations are in the org.apache.felix.scr.annotations package. If you want to use the annotations in your project, you have to use a maven-scr-plugin version >= 1.2.0 and make sure that you add a dependency to the annotations to your POM:

@@ -83,105 +78,305 @@ -

The following annotations are supported: - [Component]() - [Activate]() - [Deactivate]() - [Modified]() - [Service]() - [Property]() -* [Reference]()

-

Component

-

The Component annotation is the only required annotation. If this annotation is not declared for a Java class, the class is not declared as a component.

-

This annotation is used to declare the <component> element of the component declaration. See section 112.4.3, Component Element, in the OSGi Service Platform Service Compendium Specification for more information. The required <implementation> element is automatically generated with the fully qualified name of the class containing the Component annotation.

-

Supported attributes: -| Name | Default Value | Required | SCR | Metatype | Description | -| name | Fully qualified name of the Java class | no | component.name | OCD.id | Defines the Component name also used as the PID for the Configuration Admin Service | -| ds | true | no | -- | -- | Whether Declarative Services descriptor is generated or not. If this parameter is not set or set to true the Declarative Services descriptor is generated in the service descriptor file for this component. Otherwise no Declarative Services descriptor is generated for this component. | -| specVersion | 1.0 | no | -- | -- | Defines what Declarative Services specification the component is written against. Though the Maven SCR Plugin is very good at detecting whether components are written against the original or a newer specification, there are some cases, where the plugin may fail. For these cases, the specVersion attribute may be set to the correct version. Currently supported values for this attribute are 1.0 and 1.1. Since version 1.4.1 of the Maven SCR Plugin and version 1.0.1 of the SCR Annotations. | -| componentAbstract | see description | no | -- | -- | This marks an abstract service description which is not added to the descriptor but intended for reuse through inheritance. This attribute defaults to true for abstract classes and false for concrete classes. | -| enabled | true | no | component.enabled | -- | Whether the component is enabled when the bundle starts | -| factory | -- | no | component.factory | -- | Whether the component is a factory component | -| immediate | -- | no | component.immediate | -- | Whether the component is immediately activated | -| inherit | true | no | -- | -- | Whether any service, property and reference declarations from base classes should be inherited by this class. | -| metatype | false | no | -- | -- | Whether Metatype Service data is generated or not. If this parameter is set to true Metatype Service data is generated in the metatype.xml file for this component. Otherwise no Metatype Service data is generated for this component. | -| label | %<name>.name | no | -- | OCD.name | This is generally used as a title for the object described by the meta type. This name may be localized by prepending a % sign to the name. | -| description | %<name>.name | no | -- | OCD.description | This is generally used as a description for the object described by the meta type. This name may be localized by prepending a % sign to the name. | -| createPid | true | no | service.pid | -- | Generate the service.pid property if non is declared. | -| configurationFactory | false | no | -- | Designate.factoryPid | Is this a configuration factory? (since 1.4.0) |

-

The follwing attributes are supported since version 1.4.0 of the plugin and required a Declarative Service implementation 1.1: -| policy | OPTIONAL | no | component.policy | -- | The configuration policy for this component: OPTIONAL, IGNORE, or REQUIRE |

-

Abstract Service Descriptions

-

If the Component annotations contains the attribute componentAbstract with a value of true, the containing class is regarded as an abstract class. It is not added to the service descriptor and the tags are not validated. The information about this class is added to the bundle. Classes from other bundles (or the same) can extends this abstract class and do not need to specify the references of the abstract class if they set the inherit parameter on the scr.component tag to true.

+

The following annotations are supported:

+ +

@Component

+

The @Component annotation is the only required annotation. If this annotation is not declared for a Java class, the class is not declared as a component.

+

This annotation is used to declare the <component> element of the component declaration. See section 112.4.3, Component Element, in the OSGi Service Platform Service Compendium Specification for more information. The required <implementation> element is automatically generated with the fully qualified name of the class containing the @Component annotation.

+

Supported attributes:

+
+

ds
+Defaut: true
+SCR Descriptor: --
+Metatype Descriptor: --
+Whether Declarative Services descriptor is generated or not. If this parameter is not set or set to true the Declarative Services descriptor is generated in the service descriptor file for this component. Otherwise no Declarative Services descriptor is generated for this component.

+
+

specVersion
+Defaut: 1.0
+SCR Descriptor: --
+Metatype Descriptor: --
+Defines what Declarative Services specification the component is written against. Though the Maven SCR Plugin is very good at detecting whether components are written against the original or a newer specification, there are some cases, where the plugin may fail. For these cases, the specVersion attribute may be set to the correct version. Currently supported values for this attribute are 1.0 and 1.1. Since version 1.4.1 of the Maven SCR Plugin and version 1.0.1 of the SCR Annotations.

+
+

metatype
+Defaut: false
+SCR Descriptor: --
+Metatype Descriptor: --
+Whether Metatype Service data is generated or not. If this parameter is set to true Metatype Service data is generated in the metatype.xml file for this component. Otherwise no Metatype Service data is generated for this component.

+
+

componentAbstract
+Defaut: see description
+SCR Descriptor: --
+Metatype Descriptor: --
+This marks an abstract service description which is not added to the descriptor but intended for reuse through inheritance. This attribute defaults to true for abstract classes and false for concrete classes.

+
+

inherit
+Defaut: true
+SCR Descriptor: --
+Metatype Descriptor: --
+Whether any service, property and reference declarations from base classes should be inherited by this class.

+
+

createPid
+Defaut: true
+SCR Descriptor: service.pid
+Metatype Descriptor: --
+Generate the service.pid property if non is declared.

+
+

name
+Defaut: Fully qualified name of the Java class
+SCR Descriptor: component.name
+Metatype Descriptor: OCD.id
+Defines the Component name also used as the PID for the Configuration Admin Service

+
+

enabled
+Defaut: true
+SCR Descriptor: component.enabled
+Metatype Descriptor: --
+Whether the component is enabled when the bundle starts

+
+

factory
+Defaut: --
+SCR Descriptor: component.factory
+Metatype Descriptor: --
+Whether the component is a factory component

+
+

immediate
+Defaut: --
+SCR Descriptor: component.immediate
+Metatype Descriptor: --
+Whether the component is immediately activated

+
+

policy
+Defaut: OPTIONAL
+SCR Descriptor: component.policy
+Metatype Descriptor: --
+The configuration policy for this component: OPTIONAL, IGNORE, or REQUIRE. This attribute is supported since version 1.4.0 of the plugin and requires a Declarative Service implementation 1.1 or higher.

+
+

label
+Defaut: %<name>.name
+SCR Descriptor: --
+Metatype Descriptor: OCD.name
+This is generally used as a title for the object described by the meta type. This name may be localized by prepending a % sign to the name.

+
+

description
+Defaut: %<name>.name
+SCR Descriptor: --
+Metatype Descriptor: OCD.description
+This is generally used as a description for the object described by the meta type. This name may be localized by prepending a % sign to the name.

+
+

configurationFactory
+Defaut: false
+SCR Descriptor: --
+Metatype Descriptor: Designate.factoryPid
+Is this a configuration factory? (since 1.4.0)

+

Abstract Service Descriptions

+

If the @Component annotations contains the attribute componentAbstract with a value of true, the containing class is regarded as an abstract class. It is not added to the service descriptor and the tags are not validated. The information about this class is added to the bundle. Classes from other bundles (or the same) can extends this abstract class and do not need to specify the references of the abstract class if they set the inherit parameter on the scr.component tag to true.

This allows to create abstract classes which already provide some valuable functionality without having to deal with the details like reference definitions in each and every subclass.

-

Activate, Deactivate, and Modified

-

The Declarative Service version 1.1 allows to specify the name for the activate, deactivate and modified method (see the spec for more information). The Activate, Deactivate, and Modified annotation can be used to mark a method to be used for the specified purpose. However, as the DS specifies a method search algorithm, there are rare cases where the marked method is not used (if there is another method with the same name, but a different signature this might happen).

-

Service

-

The Service annotation defines whether and which service interfaces are provided by the component. This is a class annotation.

-

This tag is used to declare <service> and <provide> elements of the component declaration. See section 112.4.6, Service Elements, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported attributes: -| Name | Default Value | Required | Descriptor | Description | -| value | All implemented interfaces | no | provide.interface | The name of the service interface provided by the component. This can either be the fully qualified name or just the interface class name if the interface is either in the same package or is imported. If this property is not set provide elements will be generated for all interfaces generated by the class | -| serviceFactory | false | no | service.servicefactory | Whether the component is registered as a ServiceFactory or not | -Omitting the Service annotation will just define (and activate if required) the component but not register it as a service. Multiple Service annotations may be declared each with its own value. These annotations need to be wrapped into a Services anotation. The component is registered as a ServiceFactory if at least on Service annotations declares the serviceFactory attribute as true.

-

Property

-

The Property annotation defines properties which are made available to the component through the ComponentContext.getProperties() method. These tags are not strictly required but may be used by components to defined initial configuration. Additionally properties may be set here to identify the component if it is registered as a service, for example the service.description and service.vendor properties.

-

This tag may be defined in the Java Class comment of the component or in a coment to a field defining a constant with the name of the property.

-

This tag is used to declare <property> elements of the component declaration. See section 112.4.5, Properties and Property Elements, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported parameters: -| Name | Default Value | Required | SCR | Metatype | Description | -| name | The name of constant | yes | property.name | AD.id | The name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type String. | -| value | -- | no | property.value | AD.default | The string value of the property. This can either be a single value or an array. | -| longValue | -- | no | property.value | AD.default | The long value of the property. This can either be a single value or an array. | -| doubleValue | -- | no | property.value | AD.default | The double value of the property. This can either be a single value or an array. | -| floatValue | -- | no | property.value | AD.default | The float value of the property. This can either be a single value or an array. | -| intValue | -- | no | property.value | AD.default | The int value of the property. This can either be a single value or an array. | -| byteValue | -- | no | property.value | AD.default | The byte value of the property. This can either be a single value or an array. | -| charValue | -- | no | property.value | AD.default | The char value of the property. This can either be a single value or an array. | -| boolValue | -- | no | property.value | AD.default | The boolean value of the property. This can either be a single value or an array. | -| shortValue | -- | no | property.value | AD.default | The short value of the property. This can either be a single value or an array. | -| label | %<name>.name | no | -- | AD.name | The label to display in a form to configure this property. This name may be localized by prepending a % sign to the name. | -| description | %<name>.description | no | -- | AD.description | A descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a % sign to the name. | -| propertyPrivate | Depending on the name | no | -- | See description | Boolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an AD element, is generated except for the properties service.pid, service.description, service.id, service.ranking, service.vendor, service.bundlelocation and service.factoryPid. If a property should not be available for display in a configuration user interface, this parameter should be set to true. | -| cardinality | Depends on property value(s) | no | -- | AD.cardinality | Defines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a java.util.Vector (primitive types such as boolean are boxed in the Wrapper class), if the cardinality is positive, the property is stored in an array (primitve types are unboxed, that is Boolean type values are stored in boolean\[\]()). The actual value defines the maximum number of elements in the vector or array, where Integer.MIN*INT describes an unbounded Vector and Integer.MAX*INT describes an unbounded array. If the cardinality is zero, the property is a scalar value. If the defined value of the property is set in the value attribute, the cardinality defaults to 0 (zero for scalar value). If the property is defined in one or more properties st arting with values, the cardinality defaults to Integer.MAX_INT, that is an unbounded array. | -| options | -- | no | -- | See below | See below for a description of the options attribute. | - Generating <properties> elements referring to bundle entries is not currently supported. - Multiple property annotations can be embedded in the Properties annoation.

+

@Activate, @Deactivate, and @Modified

+

The Declarative Service version 1.1 allows to specify the name for the activate, deactivate and modified method (see the spec for more information). The @Activate, @Deactivate, and @Modified annotation can be used to mark a method to be used for the specified purpose. However, as the DS specifies a method search algorithm, there are rare cases where the marked method is not used (if there is another method with the same name, but a different signature this might happen).

+

These annoations have no attribues.

+

@Service

+

The @Service annotation defines whether and which service interfaces are provided by the component. This is a class annotation.

+

This annotation is used to declare <service> and <provide> elements of the component declaration. See section 112.4.6, Service Elements, in the OSGi Service Platform Service Compendium Specification for more information.

+

Supported attributes:

+
+

value
+Defaut: All implemented interfaces
+SCR Descriptor: provide.interface
+The name of the service interface provided by the component. This can either be the fully qualified name or just the interface class name if the interface is either in the same package or is imported. If this property is not set provide elements will be generated for all interfaces generated by the class

+
+

serviceFactory
+Defaut: false
+SCR Descriptor: service.servicefactory
+Whether the component is registered as a ServiceFactory or not

+

Omitting the Service annotation will just define (and activate if required) the component but not register it as a service. Multiple Service annotations may be declared each with its own value. These annotations need to be wrapped into a Services anotation. The component is registered as a ServiceFactory if at least on Service annotations declares the serviceFactory attribute as true.

+

@Property

+

The @Property annotation defines properties which are made available to the component through the ComponentContext.getProperties() method. These tags are not strictly required but may be used by components to defined initial configuration. Additionally properties may be set here to identify the component if it is registered as a service, for example the service.description and service.vendor properties.

+

This annotation can be applied on the component class level or on a field defining a constant with the name of the property.

+

This annotation is used to declare <property> elements of the component declaration. See section 112.4.5, Properties and Property Elements, in the OSGi Service Platform Service Compendium Specification for more information.

+

Supported attributes:

+
+

name
+Defaut: The name of constant
+SCR Descriptor: property.name
+Metatype Descriptor: AD.id
+The name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type String.

+
+

value
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The string value of the property. This can either be a single value or an array.

+
+

longValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The long value of the property. This can either be a single value or an array.

+
+

doubleValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The double value of the property. This can either be a single value or an array.

+
+

floatValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The float value of the property. This can either be a single value or an array.

+
+

intValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The int value of the property. This can either be a single value or an array.

+
+

byteValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The byte value of the property. This can either be a single value or an array.

+
+

charValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The char value of the property. This can either be a single value or an array.

+
+

boolValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The boolean value of the property. This can either be a single value or an array.

+
+

shortValue
+Defaut: --
+SCR Descriptor: property.value
+Metatype Descriptor: AD.default
+The short value of the property. This can either be a single value or an array.

+
+

label
+Defaut: %<name>.name
+SCR Descriptor: --
+Metatype Descriptor: AD.name
+The label to display in a form to configure this property. This name may be localized by prepending a % sign to the name.

+
+

description
+Defaut: %<name>.description
+SCR Descriptor: --
+Metatype Descriptor: AD.description
+A descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a % sign to the name.

+
+

propertyPrivate
+Defaut: Depending on the name
+SCR Descriptor: --
+Metatype Descriptor: See description +Boolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an AD element, is generated except for the properties service.pid, service.description, service.id, service.ranking, service.vendor, service.bundlelocation and service.factoryPid. If a property should not be available for display in a configuration user interface, this parameter should be set to true.

+
+

cardinality
+Defaut: Depends on property value(s)
+SCR Descriptor: --
+Metatype Descriptor: AD.cardinality
+Defines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a java.util.Vector (primitive types such as boolean are boxed in the Wrapper class), if the cardinality is positive, the property is stored in an array (primitve types are unboxed, that is Boolean type values are stored in boolean\[\]()). The actual value defines the maximum number of elements in the vector or array, where Integer.MIN*INT describes an unbounded Vector and Integer.MAX*INT describes an unbounded array. If the cardinality is zero, the property is a scalar value. If the defined value of the property is set in the value attribute, the cardinality defaults to 0 (zero for scalar value). If the property is defined in one or more properties starting with values, the cardinality defaults to Integer.MAX_INT, that is an unbounded array.

+
+

options
+Defaut: --
+SCR Descriptor: --
+Metatype Descriptor: See below
+See below for a description of the options attribute.

+

Generating <properties> elements referring to bundle entries is not currently supported.

+

Multiple property annotations on the class level can be embedded in the @Properties annotation. For example:

+
@Properties({
+    @Property(name = "prop1", value = "value1"),
+    @Property(name = "prop2", value = "value2")
+})
+
+ +

Naming the Property

It is important to carefully define the name of properties. By using a constant of the form

-
@Property(value="default value")
-static final String CONSTANT_NAME = "property.name";
+
@Property(value="default value")
+static final String CONSTANT_NAME = "property.name";
+
+ + +

and defining the @Property annotation on this constant, the name of the property is taken from the constant value. Thus it may easily be ensured, that both the property in the descriptor files and the property used by the implementation are actually the same. In addition the value attribute can refer to another constant.

+

The options Attribute

+

Some properties may only be set to a set of possible values. To support user interfaces which provide a selection list of values or a list of checkboxes the option values and labels may be defined as parameters to the @Property annotation.

+

The value of the options attribute is a list of @Options annotations:

+
@Property(name = "sample",
+    options = {
+        @Option(name = "option1", value = "&option.label.1"),
+        @Option(name = "option2", value = "&option.label.2")
+    }
+)
 
-

and defining the Property annotation on this constant, the name of the property is taken from the constant value. Thus it may easily be ensured, that both the property in the descriptor files and the property used by the implementation are actually the same. In addition the value attribute can point to another constant.

-

The options Parameter

-

Some properties may only be set to a set of possible values. To support user interfaces which provide a selection list of values or a list of checkboxes the option values and labels may be defined as parameters to the Property annotation. All parameters in the form of name-value pairs occurring after the options attribute are used to build the list of available value options. The parameter name is used as the value while the parameter value is used as the label in the user interface. This label may be prepended with a % sign to localize the string.

-

The options are written to the metatype.xml file as Option elements inside the AD element defining the property. The name of the parameter will be used for the Option.value attribute while the value of the parameter defines the Option.label attribute.

-

Please note, that all parameters of the Property annotation occurring after the options parameter are used to build the options list. Hence no non-option value parameters should actually follow the options parameter.

-

Multivalue Properties

+

The @Option's name is used as the value while the parameter value is +used as the label in the user interface. This label may be prepended with +a % sign to localize the string.

+

The options are written to the metatype.xml file as Option elements +inside the AD element defining the property. The name of the parameter +will be used for the Option.value attribute while the value of the +parameter defines the Option.label attribute.

+

Multivalue Properties

Generally the value of a property is scalar, that is a property has a single value such as true, 5 or "This is a String". Such scalar values are defined with the different value attributes of the Property annotation. In the case of a scalar property value, the cardinality parameter value is assumed to be 0 (zero) unless of course set otherwise.

There may be properties, which have a list of values, such as a list of possible URL mappings for an URL Mapper. Such multiple values are defined just by comma separate as the value of the annotation parameter.

If the cardinality of the property is not explicilty set with the cardinality property, it defaults to Integer.MAX_INT, i.e. unbound array, if multiple values are defined. Otherwise the cardinality parameter may be set for example to a negative value to store the values in a java.util.Vector instead.

-

Reference

-

The Reference annotation defines references to other services made available to the component by the Service Component Runtime.

+

@Reference

+

The @Reference annotation defines references to other services made available to the component by the Service Component Runtime.

This annotation may be declared on a Class level or any Java field to which it might apply. Depending on where the annotation is declared, the parameters may have different default values.

This annotation is used to declare <reference> elements of the component declaration. See section 112.4.7, Reference Element, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported parameters: -| Name | Default Value | Required | Descriptor | Description | -| name | Name of the field | yes | reference.name | The local name of the reference. If the Reference annotation is declared in the class comment, this parameter is required. If the annotation is declared on a field, the default value for the name parameter is the name of the field | -| interfaceReference | Type of the field | yes | reference.interface | The name of the service interface. This name is used by the Service Component Runtime to access the service on behalf of the component. If the Reference annotation is declared on a class level, this parameter is required. If the annoation is declared on a field, the default value for the interfaceReference parameter is the type of the field | -| cardinality | 1..1 | no | reference.cardinality | The cardinality of the service reference. This must be one of value from the enumeration ReferenceCardinality | -| policy | static | no | reference.policy | The dynamicity policy of the reference. If dynamic the service will be made available to the component as it comes and goes. If static the component will be deactivated and re-activated if the service comes and/or goes away. This must be one of static and dynamic | -| target | -- | no | reference.target | A service target filter to select specific services to be made available. In order to be able to overwrite the value of this value by a configuration property, this parameter must be declared. If the parameter is not declared, the respective declaration attribute will not be generated | -| bind | See description | no | reference.bind | The name of the method to be called when the service is to be bound to the component. The default value is the name created by appending the reference name to the string bind. The method must be declared public or protected and take single argument which is declared with the service interface type | -| unbind | See description | no | reference.unbind | The name of the method to be called when the service is to be unbound from the component. The default value is the name created by appending the reference name to the string unbind. The method must be declared public or protected and take single argument which is declared with the service interface type | -| strategy | event | no | reference.strategy | The strategy used for this reference, one of event or lookup | -| -Notes: -* If you define a reference on a field with a strategy of event and there is no bind or unbind method, the plugin will create the necessary methods.

+

Supported parameters:

+
+

name
+Defaut: Name of the field
+SCR Descriptor: reference.name
+The local name of the reference. If the Reference annotation is declared in the class comment, this parameter is required. If the annotation is declared on a field, the default value for the name parameter is the name of the field

+
+

interfaceReference
+Defaut: Type of the field
+SCR Descriptor: reference.interface
+The name of the service interface. This name is used by the Service Component Runtime to access the service on behalf of the component. If the Reference annotation is declared on a class level, this parameter is required. If the annoation is declared on a field, the default value for the interfaceReference parameter is the type of the field

+
+

cardinality
+Defaut: 1..1
+SCR Descriptor: reference.cardinality
+The cardinality of the service reference. This must be one of value from the enumeration ReferenceCardinality

+
+

policy
+Defaut: static
+SCR Descriptor: reference.policy
+The dynamicity policy of the reference. If dynamic the service will be made available to the component as it comes and goes. If static the component will be deactivated and re-activated if the service comes and/or goes away. This must be one of static and dynamic

+
+

target
+Defaut: --
+SCR Descriptor: reference.target
+A service target filter to select specific services to be made available. In order to be able to overwrite the value of this value by a configuration property, this parameter must be declared. If the parameter is not declared, the respective declaration attribute will not be generated

+
+

bind
+Defaut: See description
+SCR Descriptor: reference.bind
+The name of the method to be called when the service is to be bound to the component. The default value is the name created by appending the reference name to the string bind. The method must be declared public or protected and take single argument which is declared with the service interface type

+
+

unbind
+Defaut: See description
+SCR Descriptor: reference.unbind
+The name of the method to be called when the service is to be unbound from the component. The default value is the name created by appending the reference name to the string unbind. The method must be declared public or protected and take single argument which is declared with the service interface type

+
+

strategy
+Defaut: event
+SCR Descriptor: reference.strategy
+The strategy used for this reference, one of event or lookup. If the reference is defined on a field with a strategy of event and there is no bind or unbind method, the plugin will create the necessary methods.

- Rev. 1422427 by fmeschbe on Sun, 16 Dec 2012 00:36:51 +0000 + Rev. 1438983 by fmeschbe on Sat, 26 Jan 2013 22:54:42 +0000
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-javadoc-tags.html ============================================================================== --- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-javadoc-tags.html (original) +++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/scr-javadoc-tags.html Sat Jan 26 22:55:12 2013 @@ -67,105 +67,427 @@
-
- This page is a translated version of /site/scr-javadoc-tags.html. In case of - doubt you might want to refer to the old page. -
-

SCR JavaDoc Tags

-

The scr goal of the maven-scr-plugin looks for the following JavaDoc tags when building component descriptors: - [scr.component]() - [scr.property]()}} -*scr.service*scr.reference`

-

scr.component

+
+JavaDoc tags are not supported since the Maven SCR Plugin 1.8.0 because +annotations are a much more powerful instrument allowing +for type safety or supporting JVM based languages such as Groovy and Scala. +This page exists to define the support for JavaDoc tags upto Maven SCR +Plugin version 1.7.4. +
+ +

The scr goal of the maven-scr-plugin looks for the following JavaDoc tags when building component descriptors:

+ +

scr.component

The scr.component tag is the only required tag. If this tag is not declared in the Java class comment, the class is not declared as a component.

This tag is used to declare the <component> element of the component declaration. See section 112.4.3, Component Element, in the OSGi Service Platform Service Compendium Specification for more information. The required <implementation> element is automatically generated with the fully qualified name of the class containing the scr.component tag.

-

Supported parameters: -| Name | Default Value | Required | SCR | Metatype | Description | -| name | Fully qualified name of the Java class | no | component.name | OCD.id | Defines the Component name also used as the PID for the Configuration Admin Service | -| ds | true | no | -- | -- | Whether Declarative Services descriptor is generated or not. If this parameter is not set or set to true the Declarative Services descriptor is generated in the service descriptor file for this component. Otherwise no Declarative Services descriptor is generated for this component. | -| abstract | see description | no | -- | -- | This marks an abstract service description which is not added to the descriptor but intended for reuse through inheritance. This attribute defaults to true for abstract classes and false for concrete classes. | -| enabled | true | no | component.enabled | -- | Whether the component is enabled when the bundle starts | -| factory | -- | no | component.factory | -- | Whether the component is a factory component | -| immediate | -- | no | component.immediate | -- | Whether the component is immediately activated | -| inherit | true | no | -- | -- | Whether any service, property and reference declarations from base classes should be inherited by this class. | -| metatype | true | no | -- | -- | Whether Metatype Service data is generated or not. If this parameter is not set or set to true Metatype Service data is generated in the metatype.xml file for this component. Otherwise no Metatype Service data is generated for this component. | -| label | %<name>.name | no | -- | OCD.name | This is generally used as a title for the object described by the meta type. This name may be localized by prepending a % sign to the name. | -| description | %<name>.name | no | -- | OCD.description | This is generally used as a description for the object described by the meta type. This name may be localized by prepending a % sign to the name. | -| create-pid | true | no | service.pid | -- | Generate the service.pid property if non is declared. | -| configurationFactory | false | no | -- | Designate.factoryPid | Is this a configuration factory? (since 1.4.0) |

-

The follwing attributes are supported since version 1.4.0 of the plugin and required a Declarative Service implementation 1.1: -| policy | OPTIONAL | no | component.policy | -- | The configuration policy for this component: optional, ignore, or require (use lower case words) | -| activate | activate | no | component.activate | -- | The name of the component activation method. | -| deactivate | deactivate | no | component.deactivate | -- | The name of the component deactivation method. | -| modified | -- | no | component.modified | -- | The name of the component modified method. |

-

Abstract Service Descriptions

+

Supported parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefault ValueRequiredSCRMetatypeDescription
nameFully qualified name of the Java classnocomponent.nameOCD.idDefines the Component name also used as the PID for the Configuration Admin Service
dstrueno----Whether Declarative Services descriptor is generated or not. If this parameter is not set or set to true the Declarative Services descriptor is generated in the service descriptor file for this component. Otherwise no Declarative Services descriptor is generated for this component.
abstractsee descriptionno----This marks an abstract service description which is not added to the descriptor but intended for reuse through inheritance. This attribute defaults to true for abstract classes and false for concrete classes.
enabledtruenocomponent.enabled--Whether the component is enabled when the bundle starts
factory--nocomponent.factory--Whether the component is a factory component
immediate--nocomponent.immediate--Whether the component is immediately activated
inherittrueno----Whether any service, property and reference declarations from base classes should be inherited by this class.
metatypetrueno----Whether Metatype Service data is generated or not. If this parameter is not set or set to true Metatype Service data is generated in the metatype.xml file for this component. Otherwise no Metatype Service data is generated for this component.
label%<name>.nameno--OCD.nameThis is generally used as a title for the object described by the meta type. This name may be localized by prepending a % sign to the name.
description%<name>.nameno--OCD.descriptionThis is generally used as a description for the object described by the meta type. This name may be localized by prepending a % sign to the name.
create-pidtruenoservice.pid--Generate the service.pid property if non is declared.
configurationFactoryfalseno--Designate.factoryPidIs this a configuration factory? (since 1.4.0)
+

The following attributes are supported since version 1.4.0 of the plugin and required a Declarative Service implementation 1.1:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefault ValueRequiredSCRMetatypeDescription
policyOPTIONALnocomponent.policy--The configuration policy for this component: optional, ignore, or require (use lower case words)
activateactivatenocomponent.activate--The name of the component activation method.
deactivatedeactivatenocomponent.deactivate--The name of the component deactivation method.
modified--nocomponent.modified--The name of the component modified method.
+

Abstract Service Descriptions

If the scr.component tag contains the parameter abstract with a value of true, the containing class is regarded as an abstract class. It is not added to the service descriptor and the tags are not validated. The information about this class is added to the bundle. Classes from other bundles (or the same) can extends this abstract class and do not need to specify the references of the abstract class if they set the inherit parameter on the scr.component tag to true.

This allows to create abstract classes which already provide some valuable functionality without having to deal with the details like reference definitions in each and every subclass.

-

scr.property

+

scr.property

The scr.property tag defines properties which are made available to the component through the ComponentContext.getProperties() method. These tags are not strictly required but may be used by components to defined initial configuration. Additionally properties may be set here to identify the component if it is registered as a service, for example the service.description and service.vendor properties.

This tag may be defined in the Java Class comment of the component or in a coment to a field defining a constant with the name of the property.

This tag is used to declare <property> elements of the component declaration. See section 112.4.5, Properties and Property Elements, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported parameters: -| Name | Default Value | Required | SCR | Metatype | Description | -| name | The name of constant | yes | property.name | AD.id | The name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type String. | -| value | -- | no | property.value | AD.default | The value of the property. If the property type is not String, parsing of the value is done using the valueOf(String) method of the class defined by the property type | -| type | String | no | property.type | AD.type | The type of the property value. This must be one of String, Long, Double, Float, Integer, Byte, Char, Boolean and Short. | -| label | %<name>.name | no | -- | AD.name | The label to display in a form to configure this property. This name may be localized by prepending a % sign to the name. | -| description | %<name>.description | no | -- | AD.description | A descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a % sign to the name. | -| private | Depending on the name | no | -- | See description | Boolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an AD element, is generated except for the properties service.pid, service.description, service.id, service.ranking, service.vendor, service.bundlelocation and service.factoryPid. If a property should not be available for display in a configuration user interface, this parameter should be set to true. | -| cardinality | Depends on property value(s) | no | -- | AD.cardinality | Defines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a java.util.Vector (primitive types such as boolean are boxed in the Wrapper class), if the cardinality is positive, the property is stored in an array (primitve types are unboxed, that is Boolean type values are stored in boolean\[\]()). The actual value defines the maximum number of elements in the vector or array, where Integer.MIN*INT describes an unbounded Vector and Integer.MAX*INT describes an unbounded array. If the cardinality is zero, the property is a scalar value. If the defined value of the property is set in the value attribute, the cardinality defaults to 0 (zero for scalar value). If the property is defined in one or more properties st arting with values, the cardinality defaults to Integer.MAX_INT, that is an unbounded array. | -| options | -- | no | -- | See below | See below for a description of the options parameter. | -| values* | -- | no | -- | See below | See below for a description of parameters starting with values. | -| valueRef | -- | no | -- | AD.default | A constant containing the value for this property. The constant can either be declared in the same class as this property or in any class that is imported. The type of the property is derived from the constant. | -| valueRefs | -- | no | -- | See below | Same as the values attribute with the difference that it acts like the valueRef attribute and the value points to a constants defining the multi value for the property. | -Notes: -* Generating <properties> elements referring to bundle entries is not currently supported.

-

Naming the property

+

Supported parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefault ValueRequiredSCRMetatypeDescription
nameThe name of constantyesproperty.nameAD.idThe name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type String.
value--noproperty.valueAD.defaultThe value of the property. If the property type is not String, parsing of the value is done using the valueOf(String) method of the class defined by the property type
typeStringnoproperty.typeAD.typeThe type of the property value. This must be one of String, Long, Double, Float, Integer, Byte, Char, Boolean and Short.
label%<name>.nameno--AD.nameThe label to display in a form to configure this property. This name may be localized by prepending a % sign to the name.
description%<name>.descriptionno--AD.descriptionA descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a % sign to the name.
privateDepending on the nameno--See descriptionBoolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an AD element, is generated except for the properties service.pid, service.description, service.id, service.ranking, service.vendor, service.bundlelocation and service.factoryPid. If a property should not be available for display in a configuration user interface, this parameter should be set to true.
cardinalityDepends on property value(s)no--AD.cardinalityDefines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a java.util.Vector (primitive types such as boolean are boxed in the Wrapper class), if the cardinality is positive, the property is stored in an array (primitve types are unboxed, that is Boolean type values are stored in boolean\[\]()). The actual value defines the maximum number of elements in the vector or array, where Integer.MIN*INT describes an unbounded Vector and Integer.MAX*INT describes an unbounded array. If the cardinality is zero, the property is a scalar value. If the defined value of the property is set in the value attribute, the cardinality defaults to 0 (zero for scalar value). If the property is defined in one or more properties starting with values, the cardinality defaults to Integer.MAX_INT, that is an unbounded array.
options--no--See belowSee below for a description of the options parameter.
values*--no--See belowSee below for a description of parameters starting with values.
valueRef--no--AD.defaultA constant containing the value for this property. The constant can either be declared in the same class as this property or in any class that is imported. The type of the property is derived from the constant.
valueRefs--no--See belowSame as the values attribute with the difference that it acts like the valueRef attribute and the value points to a constants defining the multi value for the property.
+

Notes:

+
    +
  • Generating <properties> elements referring to bundle entries is not currently supported.
  • +
+

Naming the property

It is important to carefully define the name of properties. By using a constant of the form

-
/** @scr.property value="default value" */
-static final String CONSTANT_NAME = "property.name";
+
/** @scr.property value="default value" */
+static final String CONSTANT_NAME = "property.name";
 

and defining the scr.property tag on this constant, the name of the property is taken from the constant value. Thus it may easily be ensured, that both the property in the descriptor files and the property used by the implementation are actually the same.

-

The options parameter

+

The options parameter

Some properties may only be set to a set of possible values. To support user interfaces which provide a selection list of values or a list of checkboxes the option values and labels may be defined as parameters to the scr.property tag. All parameters in the form of name-value pairs occurring after the options parameter are used to build the list of available value options. The parameter name is used as the value while the parameter value is used as the label in the user interface. This label may be prepended with a % sign to localize the string.

The options are written to the metatype.xml file as Option elements inside the AD element defining the property. The name of the parameter will be used for the Option.value attribute while the value of the parameter defines the Option.label attribute.

Please note, that all parameters of the scr.property tag occurring after the options parameter are used to build the options list. Hence no non-option value parameters should actually follow the options parameter.

-

Multivalue properties

+

Multivalue properties

Generally the value of a property is scalar, that is a property has a single value such as true, 5 or "This is a String". Such scalar values are defined with the value parameter of the scr.property tag. In the case of a scalar property value, the cardinality parameter value is assumed to be 0 (zero) unless of course set otherwise.

There may be properties, which have a list of values, such as a list of possible URL mappings for an URL Mapper. Such multiple values are defined in one more parameters whose name starts with values. Each parameter must of course have a unique name which is not in any except to differentiate the parameters.

If the cardinality of the property is not explicilty set with the cardinality property, it defaults to Integer.MAX_INT, i.e. unbound array, if multiple values with a series of values parameters are defined. Otherwise the cardinality parameter may be set for example to a negative value to store the values in a java.util.Vector instead.

-

scr.service

+

scr.service

The scr.service tag defines whether and which service interfaces are provided by the component.

This tag is expected in the Java Class comment of the component.

This tag is used to declare <service> and <provide> elements of the component declaration. See section 112.4.6, Service Elements, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported parameters: -| Name | Default Value | Required | Descriptor | Description | -| interface | All implemented interfaces | no | provide.interface | The name of the service interface provided by the component. This can either be the fully qualified name or just the interface class name if the interface is either in the same package or is imported. If this property is not set provide elements will be generated for all interfaces generated by the class | -| servicefactory | false | no | service.servicefactory | Whether the component is registered as a ServiceFactory or not | -Omitting the scr.service tag will just define (and activate if required) the component but not register it as a service. Multiple scr.service tags may be declared each with its own interface. The component is registered as a ServiceFactory if at least on scr.service tag declares the servicefactory parameter as true.

-

scr.reference

+

Supported parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefault ValueRequiredDescriptorDescription
interfaceAll implemented interfacesnoprovide.interfaceThe name of the service interface provided by the component. This can either be the fully qualified name or just the interface class name if the interface is either in the same package or is imported. If this property is not set provide elements will be generated for all interfaces generated by the class
servicefactoryfalsenoservice.servicefactoryWhether the component is registered as a ServiceFactory or not
+

Omitting the scr.service tag will just define (and activate if required) the component but not register it as a service. Multiple scr.service tags may be declared each with its own interface. The component is registered as a ServiceFactory if at least on scr.service tag declares the servicefactory parameter as true.

+

scr.reference

The scr.reference tag defines references to other services made available to the component by the Service Component Runtime.

This tag may be declared in the java Class comment or any Java Field to which it might apply. Depending on where the tag is declared, the parameters may have different default values.

This tag is used to declare <reference> elements of the component declaration. See section 112.4.7, Reference Element, in the OSGi Service Platform Service Compendium Specification for more information.

-

Supported parameters: -| Name | Default Value | Required | Descriptor | Description | -| name | Name of the field | yes | reference.name | The local name of the reference. If the scr.reference tag is declared in the class comment, this parameter is required. If the tag is declared in the field comment, the default value for the name parameter is the name of the field | -| interface | Type of the field | yes | reference.interface | The name of the service interface. This name is used by the Service Component Runtime to access the service on behalf of the component. If the scr.reference tag is declared in the class comment, this parameter is required. If the tag is declared in the field comment, the default value for the interface parameter is the type of the field | -| cardinality | 1..1 | no | reference.cardinality | The cardinality of the service reference. This must be one of 0..1, 1..1, 0..n, and 1..n | -| policy | static | no | reference.policy | The dynamicity policy of the reference. If dynamic the service will be made available to the component as it comes and goes. If static the component will be deactivated and re-activated if the service comes and/or goes away. This must be one of static and dynamic | -| target | -- | no | reference.target | A service target filter to select specific services to be made available. In order to be able to overwrite the value of this value by a configuration property, this parameter must be declared. If the parameter is not declared, the respective declaration attribute will not be generated | -| bind | See description | no | reference.bind | The name of the method to be called when the service is to be bound to the component. The default value is the name created by appending the reference name to the string bind. The method must be declared public or protected and take single argument which is declared with the service interface type | -| unbind | See description | no | reference.unbind | The name of the method to be called when the service is to be unbound from the component. The default value is the name created by appending the reference name to the string unbind. The method must be declared public or protected and take single argument which is declared with the service interface type | -| strategy | event | no | reference.strategy | The strategy used for this reference, one of event or lookup | -|

-

Notes: -* If you define a reference on a field with the strategy event and there is no bind or unbind method, the plugin will create the necessary methods.

+

Supported parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefault ValueRequiredDescriptorDescription
nameName of the fieldyesreference.nameThe local name of the reference. If the scr.reference tag is declared in the class comment, this parameter is required. If the tag is declared in the field comment, the default value for the name parameter is the name of the field
interfaceType of the fieldyesreference.interfaceThe name of the service interface. This name is used by the Service Component Runtime to access the service on behalf of the component. If the scr.reference tag is declared in the class comment, this parameter is required. If the tag is declared in the field comment, the default value for the interface parameter is the type of the field
cardinality1..1noreference.cardinalityThe cardinality of the service reference. This must be one of 0..1, 1..1, 0..n, and 1..n
policystaticnoreference.policyThe dynamicity policy of the reference. If dynamic the service will be made available to the component as it comes and goes. If static the component will be deactivated and re-activated if the service comes and/or goes away. This must be one of static and dynamic
target--noreference.targetA service target filter to select specific services to be made available. In order to be able to overwrite the value of this value by a configuration property, this parameter must be declared. If the parameter is not declared, the respective declaration attribute will not be generated
bindSee descriptionnoreference.bindThe name of the method to be called when the service is to be bound to the component. The default value is the name created by appending the reference name to the string bind. The method must be declared public or protected and take single argument which is declared with the service interface type
unbindSee descriptionnoreference.unbindThe name of the method to be called when the service is to be unbound from the component. The default value is the name created by appending the reference name to the string unbind. The method must be declared public or protected and take single argument which is declared with the service interface type
strategyeventnoreference.strategyThe strategy used for this reference, one of event or lookup
+

Notes:

+
    +
  • If you define a reference on a field with the strategy event and there is no bind or unbind method, the plugin will create the necessary methods.
  • +
- Rev. 1422427 by fmeschbe on Sun, 16 Dec 2012 00:36:51 +0000 + Rev. 1438983 by fmeschbe on Sat, 26 Jan 2013 22:54:42 +0000
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project Modified: websites/staging/felix/trunk/content/site/.htaccess ============================================================================== --- websites/staging/felix/trunk/content/site/.htaccess (original) +++ websites/staging/felix/trunk/content/site/.htaccess Sat Jan 26 22:55:12 2013 @@ -2,3 +2,11 @@ Redirect Permanent /site/release-managem Redirect Permanent /site/provisional-osgi-api-policy.html /documentation/development/provisional-osgi-api-policy.html Redirect Permanent /site/apache-felix-http-service.html /documentation/subprojects/apache-felix-http-service.html Redirect Permanent /site/using-the-osgi-compliance-tests.html /documentation/development/using-the-osgi-compliance-tests.html + +Redirect Permanent /site/apache-felix-maven-scr-plugin.html /documentation/subprojects/apache-felix-maven-scr-plugin.html +Redirect Permanent /site/apache-felix-maven-scr-plugin-use.html /documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html +Redirect Permanent /site/apache-felix-scr-ant-task-use.html /documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-ant-task-use.html +Redirect Permanent /site/extending-scr-annotations.html /documentation/subprojects/apache-felix-maven-scr-plugin/extending-scr-annotations.html +Redirect Permanent /site/scr-annotations.html /documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html +Redirect Permanent /site/scr-javadoc-tags.html /documentation/subprojects/apache-felix-maven-scr-plugin/scr-javadoc-tags.html +Redirect Permanent /site/apache-felix-scr-plugin-faq.html /documentation/faqs/apache-felix-scr-plugin-faq.html Modified: websites/staging/felix/trunk/content/sitemap.html ============================================================================== --- websites/staging/felix/trunk/content/sitemap.html (original) +++ websites/staging/felix/trunk/content/sitemap.html Sat Jan 26 22:55:12 2013 @@ -101,7 +101,7 @@
  • FAQs
  • Getting Started