You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2013/09/30 10:06:56 UTC

svn commit: r1527479 - /felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext

Author: clement
Date: Mon Sep 30 08:06:56 2013
New Revision: 1527479

URL: http://svn.apache.org/r1527479
Log:
Added timeout and exception attributes in the annotation documentation.
This commit is related to :

* FELIX-4239 Extend service dependency documentation with the 'exception' attribute.
* FELIX-4244 Extend the service dependency documentation with the timeout attribute


Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext?rev=1527479&r1=1527478&r2=1527479&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/how-to-use-ipojo-annotations.mdtext Mon Sep 30 08:06:56 2013
@@ -173,16 +173,18 @@ This section lists defined annotations a
 *Target:* Field
 *Attributes:*
 
-* Filter: defines the LDAP filter (optional)
-* Optional: defines if the dependency is optional (optional, default = "false")
-* Id: defines the dependency Id (useful to identify bind & unbind methods) (optional, default = field name) (if a dependency with the same id is already created (by a @bind or @unbind annotation), it merges the dependencies).
-* Nullable: enable or disable the Null Object injection when the dependency is optional and no providers are available (optional, default = "true")
-* Defaultimplementation: set the Default-Implmentation (optional, by default iPOJO uses a Null object)
-* Policy: defines the binding policy (accepted value : dynamic, static, dynamic-priority) (optional, default = "dynamic")
-* Comparator: defines the comparator to use to sort service references (optional, default = OSGi Service Reference Comparator)
-* From : defines the specific provider to use
-* Specification : the required service specification. This attribute is required for Collection field. (optional, default = annotated field type). 
-* Proxy : enables / disables the proxy injection (enabled by default)
+* filter: defines the LDAP filter (optional)
+* optional: defines if the dependency is optional (optional, default = "false")
+* id: defines the dependency Id (useful to identify bind & unbind methods) (optional, default = field name) (if a dependency with the same id is already created (by a @bind or @unbind annotation), it merges the dependencies).
+* nullable: enable or disable the Null Object injection when the dependency is optional and no providers are available (optional, default = "true")
+* defaultimplementation: set the Default-Implmentation (optional, by default iPOJO uses a Null object)
+* exception : the class of the runtime exception to throw when no service providers are available 
+* policy: defines the binding policy (accepted value : dynamic, static, dynamic-priority) (optional, default = "dynamic")
+* comparator: defines the comparator to use to sort service references (optional, default = OSGi Service Reference Comparator)
+* from : defines the specific provider to use
+* specification : the required service specification. This attribute is required for Collection field. (optional, default = annotated field type). 
+* proxy : enables / disables the proxy injection (enabled by default)
+* timeout : the timeout ins millisecond to wait before applying the _no service action_
 
 ### @ServiceProperty