You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2013/03/27 16:22:53 UTC

svn commit: r1461645 - /felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext

Author: fmeschbe
Date: Wed Mar 27 15:22:53 2013
New Revision: 1461645

URL: http://svn.apache.org/r1461645
Log:
fix code and list sections

Modified:
    felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext

Modified: felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext?rev=1461645&r1=1461644&r2=1461645&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext (original)
+++ felix/site/trunk/content/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.mdtext Wed Mar 27 15:22:53 2013
@@ -89,7 +89,7 @@ respective API is actually used.
 
 Here's how to implement the the example from above:
 
-1. Create a `ServiceFactory`
+(1) Create a `ServiceFactory`
 
     :::java
     private class PluginServiceFactory {
@@ -102,7 +102,7 @@ Here's how to implement the the example 
         }
     }
 
-2. Register the service
+(2) Register the service
 
     :::java
     Hashtable props = new Hashtable();
@@ -112,9 +112,9 @@ Here's how to implement the the example 
         new PluginServiceFactory(bo),
         props);
 
-3. Dynamically import the API
+(3) Dynamically import the API
 
-    :::text
+    :::xml
     DynamicImport-Package: javax.servlet;javax.servlet.http;version=2.3
 
 For an example of using this pattern, you might want to look at the