Author: pderop
Date: Tue Mar  1 23:14:13 2016
New Revision: 1733187

URL: http://svn.apache.org/viewvc?rev=1733187&view=rev
Log:
updated dm doc to use java8.

Modified:
    
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/tutorials/getting-started.mdtext

Modified: 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/tutorials/getting-started.mdtext
URL: 
http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/tutorials/getting-started.mdtext?rev=1733187&r1=1733186&r2=1733187&view=diff
==============================================================================
--- 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/tutorials/getting-started.mdtext
 (original)
+++ 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/tutorials/getting-started.mdtext
 Tue Mar  1 23:14:13 2016
@@ -11,6 +11,8 @@ The following paragraphs will show vario
 
 To use the dependency manager, you should put the 
`org.apache.felix.dependencymanager.jar` in your classpath while compiling and 
in your OSGi framework when running.
 
+Java 8 is required since the dependency manager R8 release.
+
 ## Registering a service
 
 The first example is about registering a service. We extend 
`DependencyActivatorBase` and in the `init` method we use the reference to the 
`DependencyManager` to create and add a component. For this component we 
subsequently set its service interface and implementation. In this case the 
interface is the `Store` interface, the second parameter, `null`, allows you to 
provide properties along with the service registration. For the implementation, 
we only mention the `Class` of the implementation, which means the dependency 
manager will lazily instantiate it. In this case, there is not much point in 
doing that because the component has no dependencies, but if it had, the 
instantiation would only happen when those dependencies were resolved.


Reply via email to