You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2013/09/22 22:25:54 UTC

svn commit: r879481 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-getting-started.html

Author: buildbot
Date: Sun Sep 22 20:25:53 2013
New Revision: 879481

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/apache-felix-dependency-manager-getting-started.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 22 20:25:53 2013
@@ -1 +1 @@
-1525435
+1525439

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-getting-started.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-getting-started.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-getting-started.html Sun Sep 22 20:25:53 2013
@@ -74,9 +74,11 @@
       
       <h1>Apache Felix Dependency Manager - Getting Started</h1>
       <h2 id="getting-started">Getting Started</h2>
-<p>When developing an OSGi bundle that has dependencies and possibly registers services, there are two classes in particular we need to implement:
-1. The bundle activator which controls the life-cycle of the bundle.
-1. The actual component implementation, which can be a POJO.</p>
+<p>When developing an OSGi bundle that has dependencies and possibly registers services, there are two classes in particular we need to implement:</p>
+<ol>
+<li>The bundle activator which controls the life-cycle of the bundle.</li>
+<li>The actual component implementation, which can be a POJO.</li>
+</ol>
 <p>When using the dependency manager, your bundle activator is a subclass of <code>DependencyActivatorBase</code>. It needs to implement two life cycle methods: <code>init</code> and <code>destroy</code>. Both methods take two arguments: <code>BundleContext</code> and <code>DependencyManager</code>. The latter is your interface to the declarative API you can use to define your components and dependencies.</p>
 <p>The following paragraphs will show various examples that explain how to do this. Subsequently, some more advanced scenarios will be covered that involve listening to dependency and component state changes and interacting with the OSGi framework from within your component implementation.</p>
 <h3 id="registering-a-service">Registering a service</h3>
@@ -242,11 +244,8 @@
     <span class="p">}</span>
 <span class="p">}</span>
 </pre></div>
-
-
-<h3 id="_1">...</h3>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1422427 by fmeschbe on Sun, 16 Dec 2012 00:36:51 +0000
+        Rev. 1525439 by pderop on Sun, 22 Sep 2013 20:25:46 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project