felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r859832 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html
Date Thu, 25 Apr 2013 08:24:42 GMT
Author: buildbot
Date: Thu Apr 25 08:24:42 2013
New Revision: 859832

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr 25 08:24:42 2013
@@ -1 +1 @@
-1475666
+1475667

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html
(original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html
Thu Apr 25 08:24:42 2013
@@ -306,8 +306,8 @@
 <p>The <code>modified</code> callback is not mandatory. The following XML
metadata are describing the same component type:</p>
 <div class="codehilite"><pre><span class="nt">&lt;component</span>
<span class="na">classname=</span><span class="s">&quot;...HelloConsumer&quot;</span><span
class="nt">&gt;</span>
 <span class="nt">&lt;requires&gt;</span>
-    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">&gt;</span>
-    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">/&gt;</span>
 <span class="nt">&lt;/requires&gt;</span>
 ...
 <span class="nt">&lt;/component&gt;</span>
@@ -364,8 +364,8 @@
 <p>In XML, it results in:</p>
 <div class="codehilite"><pre><span class="nt">&lt;component</span>
<span class="na">classname=</span><span class="s">&quot;...HelloConsumer&quot;</span><span
class="nt">&gt;</span>
     <span class="nt">&lt;requires</span>  <span class="na">field=</span><span
class="s">&quot;m_hello&quot;</span><span class="nt">&gt;</span>
-        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">&gt;</span>
-        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">/&gt;</span>
+        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">/&gt;</span>
     <span class="nt">&lt;/requires&gt;</span>
     ...
 <span class="nt">&lt;/component&gt;</span>
@@ -391,10 +391,10 @@
 <div class="codehilite"><pre><span class="nd">@Component</span>
 <span class="kd">public</span> <span class="kd">class</span> <span
class="nc">HelloConsumer</span> <span class="o">{</span>
      <span class="nd">@Requires</span>
-     <span class="kd">private</span> <span class="n">Hello</span>
<span class="n">m_hellos</span><span class="o">[]();</span> <span
class="c1">// Array =&gt; Aggregate</span>
+     <span class="kd">private</span> <span class="n">Hello</span>
<span class="n">m_hellos</span><span class="o">[];</span> <span
class="c1">// Array =&gt; Aggregate</span>
      <span class="kd">public</span> <span class="nf">doSomething</span><span
class="o">()</span> <span class="o">{</span>
              <span class="k">for</span><span class="o">(</span><span
class="kt">int</span> <span class="n">I</span> <span class="o">=</span>
<span class="mi">0</span><span class="o">;</span> <span class="n">I</span>
<span class="o">&lt;</span> <span class="n">m_hellos</span><span
class="o">.</span><span class="na">length</span><span class="o">;</span>
<span class="n">i</span><span class="o">++)</span> <span class="o">{</span>

-                 <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span class="na">println</span><span
class="o">(</span><span class="n">m_hellos</span><span class="o">[</span><span
class="n">i</span><span class="o">]().</span><span class="na">getMessage</span><span
class="o">());</span>
+                 <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span class="na">println</span><span
class="o">(</span><span class="n">m_hellos</span><span class="o">[</span><span
class="n">i</span><span class="o">].</span><span class="na">getMessage</span><span
class="o">());</span>
              <span class="o">}</span>
        <span class="o">}</span>
 <span class="o">}</span>
@@ -476,8 +476,8 @@ public class HelloConsumer {
 
 <p>This dependency can also be described in XML as follow:</p>
 <div class="codehilite"><pre><span class="nt">&lt;requires</span>
 <span class="na">aggregate=</span><span class="s">&quot;true&quot;</span><span
class="nt">&gt;</span>
-    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">&gt;</span>
-    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">/&gt;</span>
 <span class="nt">&lt;/requires&gt;</span>
 </pre></div>
 
@@ -535,8 +535,8 @@ public class HelloConsumer {
 <p>For this component, XML metadata could be:</p>
 <div class="codehilite"><pre><span class="nt">&lt;component</span>
<span class="na">classname=</span><span class="s">&quot;...HelloConsumer&quot;</span><span
class="nt">&gt;</span>
     <span class="nt">&lt;requires</span> <span class="na">optional=</span><span
class="s">&quot;true&quot;</span><span class="nt">&gt;</span>
-        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">&gt;</span>
-        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">/&gt;</span>
+        <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">/&gt;</span>
     <span class="nt">&lt;/requires&gt;</span>
     ...
 <span class="nt">&lt;/component&gt;</span>
@@ -550,7 +550,7 @@ public class HelloConsumer {
 <div class="codehilite"><pre><span class="nd">@Component</span>
 <span class="kd">public</span> <span class="kd">class</span> <span
class="nc">HelloConsumer</span> <span class="o">{</span>
      <span class="nd">@Requires</span><span class="o">(</span><span
class="n">optional</span><span class="o">=</span><span class="kc">true</span><span
class="o">)</span>
-     <span class="kd">private</span> <span class="n">Hello</span>
<span class="n">m_hellos</span><span class="o">[]();</span>
+     <span class="kd">private</span> <span class="n">Hello</span>
<span class="n">m_hellos</span><span class="o">[];</span>
 
      <span class="kd">public</span> <span class="nf">doSomething</span><span
class="o">()</span> <span class="o">{</span>
            <span class="k">for</span><span class="o">(</span><span
class="n">Hello</span> <span class="n">h</span> <span class="o">:</span>
<span class="n">m_hellos</span><span class="o">)</span> <span class="o">{</span>

@@ -593,8 +593,8 @@ public class HelloConsumer {
 
 <p>For this component, XML metadata could be:</p>
 <div class="codehilite"><pre><span class="nt">&lt;requires</span>
<span class="na">aggregate=</span><span class="s">&quot;true&quot;</span>
<span class="na">optional=</span><span class="s">&quot;true&quot;</span><span
class="nt">&gt;</span>
-     <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">&gt;</span>
-     <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">&gt;</span>
+     <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;bind&quot;</span> <span class="na">method=</span><span
class="s">&quot;bindHello&quot;</span><span class="nt">/&gt;</span>
+     <span class="nt">&lt;callback</span> <span class="na">type=</span><span
class="s">&quot;unbind&quot;</span> <span class="na">method=</span><span
class="s">&quot;unbindHello&quot;</span><span class="nt">/&gt;</span>
 <span class="nt">&lt;/requires&gt;</span>
 </pre></div>
 
@@ -802,7 +802,7 @@ public class HelloConsumer {
                 may be trademarks or registered trademarks of their respective owners.
                 </div>
                 <div class="timestamp span3 offset2">
-                Rev. 1444686 by clement on Mon, 11 Feb 2013 09:16:09 +0000
+                Rev. 1475667 by clement on Thu, 25 Apr 2013 08:24:33 +0000
                 </div>
             </div>
         </footer>           



Mime
View raw message