Author: buildbot
Date: Wed Mar 2 00:07:42 2016
New Revision: 981594
Log:
Staging update by buildbot for felix
Modified:
websites/staging/felix/trunk/content/ (props changed)
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/dm-lambda.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 2 00:07:42 2016
@@ -1 +1 @@
-1733191
+1733198
Modified:
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/dm-lambda.html
==============================================================================
---
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/dm-lambda.html
(original)
+++
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/dm-lambda.html
Wed Mar 2 00:07:42 2016
@@ -815,7 +815,7 @@ it is forbidden to block on the current
<p>So, you use an <code>HttpClient</code> which allows to asynchronously
download a web page: this service is assumed to provide a doGET() method
which does not block the current thread, but instead returns
<code>CompletableFuture<String></code>
which represents the future result of the asynchronously downloaded page.</p>
-<p>So, from your component init() method, you can just declare a
FutureDependency on the result of the
<code>CompletableFuture<String></code>.
+<p>From your component init() method, you can then declare a FutureDependency
on the result of the <code>CompletableFuture<String></code>.
A Future Dependency can be defined using the "withFuture" method available
from the ComponentBuilder interface, and this method takes as argument two
args: a CompletableFuture, and a
<code>consumer<FutureDependencyBuilder></code>. The second arg is a
lambda that can be used to configure the callback to invoke when the CF has
completed.</p>
<p>And once the result completes, start() will be called, and at this point,
the Tracked services will then
@@ -941,7 +941,7 @@ http proxy.</p>
<h2 id="javadoc">Javadoc<a class="headerlink" href="#javadoc" title="Permanent
link">¶</a></h2>
<p>You can find the javadoc for the new Dependency Manager Lambda library <a
href="../../../../apidocs/">here</a>.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1733191 by pderop on Tue, 1 Mar 2016 23:40:15 +0000
+ Rev. 1733198 by pderop on Wed, 2 Mar 2016 00:07:27 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache
Felix project