felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1665453 - /felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
Date Tue, 10 Mar 2015 10:34:47 GMT
Author: pderop
Date: Tue Mar 10 10:34:47 2015
New Revision: 1665453

URL: http://svn.apache.org/r1665453
Log:
Added link to thread-model section. Added titles.

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext?rev=1665453&r1=1665452&r2=1665453&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
(original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
Tue Mar 10 10:34:47 2015
@@ -2,6 +2,8 @@ Title: Apache Felix Dependency Manager -
 
 # What's new in version 4?
 
+## new Thread model
+
 DependencyManager 4.0 has been significantly reworked to improve support for concurrency.
The following principles form the basis of the new concurrency model in DM4.
 
  * All external events that influence the state of dependencies are recorded and given to
the serial executor of the component. We record whatever data comes in, so when the actual
job is run by the serial executor, we still have access to the original data without having
to access other sources whose state might have changed since.
@@ -23,6 +25,10 @@ See also the following property in the o
 
 Here, all components will be handled by Executors provided by the ComponentExecutorFactory,
except those having a package starting with "org.apache.felix.dependencymanager.samples.tpool"
(because the threadpool is itself defined using the Dependency Manager API).
 
+You will find a full description of the new thread model in the [Reference](../reference/thread-model.html)
section.
+
+## New features
+
 In addition, some new features have been implemented in dependency manager:
 
 * Auto Config Iterable fields: AutoConfig dependencies can be applied on Iterable<Service>
fields in order to be able to traverse currently injected services safely. The Iterable must
be parameterized with the Service type. See org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/dictionary/api/Spellcheck.java
for an example.
@@ -47,7 +53,9 @@ Use "add-require-capability=true" option
 
 * The Annotations "Factory Sets" are deprecated and have been replaced by a nice api exported
by the runtime bundle. See FELIX-4684
 
-* The source distribution includes many sample codes which can be run directly under Eclipse
and BndTools. The samples are available in the 
+# Sample codes
+
+The source distribution includes many sample codes which can be run directly under Eclipse
and BndTools. The samples are available in the 
 org.apache.felix.dependencymanager.samples/ module.
 Some of the samples require that you configure some pids or factory pids from Web Console,
which can be accessed using *http://localhost:8080/system/console/configMgr* URL.
 Please consult org.apache.felix.dependencymanager.samples/README.samples for up to date instructions
on how to execute the various examples.



Mime
View raw message