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 2014/08/21 11:47:46 UTC
svn commit: r920015 - in /websites/staging/felix/trunk/content: ./
documentation/faqs/apache-felix-scr-plugin-faq.html
Author: buildbot
Date: Thu Aug 21 09:47:46 2014
New Revision: 920015
Log:
Staging update by buildbot for felix
Modified:
websites/staging/felix/trunk/content/ (props changed)
websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 21 09:47:46 2014
@@ -1 +1 @@
-1614882
+1619329
Modified: websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html (original)
+++ websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html Thu Aug 21 09:47:46 2014
@@ -73,6 +73,7 @@
<li><a href="#why-are-the-standard-annotations-not-processed">Why are the (standard) annotations not processed?</a></li>
<li><a href="#syntax-error-when-enums-are-used">Syntax Error when Enums are used?</a></li>
<li><a href="#noclassdeffounderror-during-build">NoClassDefFoundError during build</a></li>
+<li><a href="#no-components-or-services-available-at-runtime">No components or services available at runtime</a></li>
</ul>
</div>
<p>This page provides answers to frequently asked questions using the Maven
@@ -112,7 +113,7 @@ In both cases, the scanned classes have
<div class="codehilite"><pre><span class="nt"><plugin></span>
<span class="nt"><groupId></span>org.apache.felix<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>maven-scr-plugin<span class="nt"></artifactId></span>
- <span class="nt"><version></span>1.9.0<span class="nt"></version></span>
+ <span class="nt"><version></span>...<span class="nt"></version></span>
<span class="nt"><dependencies></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.slf4j<span class="nt"></groupId></span>
@@ -126,8 +127,11 @@ In both cases, the scanned classes have
<p>or in the special case of slf4j, using slf4j API 1.6 or higher solves the problem as well</p>
+<h2 id="no-components-or-services-available-at-runtime">No components or services available at runtime</h2>
+<p>The SCR plugin generates a descriptor for Declarative Services (see OSGi compendium specification). Therefore at runtime, you must have an implementation of DS running in your OSGi framework, like the SCR implementation from the Apache Felix project.</p>
+<p>Otherwise your bundle might resolve fine, however no services are registered with the service registry and no components are activated.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1576639 by cziegeler on Wed, 12 Mar 2014 08:46:12 +0000
+ Rev. 1619329 by cziegeler on Thu, 21 Aug 2014 09:47:17 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project