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/02/07 16:43:55 UTC

svn commit: r849773 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.html

Author: buildbot
Date: Thu Feb  7 15:43:54 2013
New Revision: 849773

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/architecture-handler.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Feb  7 15:43:54 2013
@@ -1 +1 @@
-1443561
+1443565

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.html Thu Feb  7 15:43:54 2013
@@ -153,25 +153,33 @@
         <div class="content">
             <h1 id="introspection-and-architecture">Introspection and Architecture</h1>
 <p><em>The architecture feature allows obtaining an architectural / component view of your systems. It exposes a snapshot of the present instances &amp; factories, the state of these instances... Moreover; iPOJO defines an 'arch' command displaying this architecture in Felix. You need to install <a href="">the arch command</a>.</em></p>
-<p>{div:class=toc}
-[TOC]
-{div}</p>
+<div class="toc">
+<ul>
+<li><a href="#introspection-and-architecture">Introspection and Architecture</a><ul>
+<li><a href="#reflection-on-component-instances">Reflection on component instances</a></li>
+<li><a href="#metadata">Metadata</a></li>
+<li><a href="#the-arch-command">The "arch" command</a></li>
+<li><a href="#technical-information">Technical information</a></li>
+</ul>
+</li>
+</ul>
+</div>
 <h2 id="reflection-on-component-instances">Reflection on component instances</h2>
 <p>The architecture feature does "reflection" on the iPOJO containers. It gathers information about the component (state, class name ...), requirement (state, multiple, optional ...), provided services (state, properties) ... Each handler can participate to the architecture. This information allows you to know why an instance does not start, or why the component does not publish / provide a service.</p>
 <h2 id="metadata">Metadata</h2>
-<p>The architecture (i.e. instance introspection) is activated by default. To disable it, you need to add an attribute <em>"architecture=false"</em> to the component element:</p>
-<div class="codehilite"><pre><span class="o">&lt;</span><span class="n">component</span> <span class="n">classname</span><span class="o">=</span><span class="s">&quot;org.apache.felix.ipojo.hello.impl.HelloServiceImpl&quot;</span> <span class="n">architecture</span><span class="o">=</span><span class="s">&quot;false&quot;</span><span class="o">&gt;</span>
+<p>The architecture (i.e. instance introspection) is activated by default. To disable it, you need to add an attribute <code>architecture="false"</code> to the component element:</p>
+<div class="codehilite"><pre><span class="nt">&lt;component</span> <span class="na">classname=</span><span class="s">&quot;org.apache.felix.ipojo.hello.impl.HelloServiceImpl&quot;</span> <span class="na">architecture=</span><span class="s">&quot;false&quot;</span><span class="nt">&gt;</span>
 </pre></div>
 
 
 <p>By default, the architecture feature is enabled.</p>
 <h2 id="the-arch-command">The "arch" command</h2>
 <p>A Felix command comes with the architecture handler. This command looks for all component exposing the architecture and print the information.</p>
-<div class="codehilite"><pre><span class="n">arch</span> <span class="o">=&gt;</span> <span class="n">displays</span> <span class="n">instances</span> <span class="n">name</span> <span class="o">&amp;</span> <span class="n">state</span> <span class="p">(</span><span class="n">equivalent</span> <span class="n">to</span> <span class="n">arch</span> <span class="o">\-</span><span class="n">instances</span><span class="p">)</span>
-<span class="n">arch</span> <span class="o">-</span><span class="n">instance</span> <span class="nv">$instance_name</span> <span class="o">=&gt;</span> <span class="n">displays</span> <span class="n">complete</span> <span class="n">information</span> <span class="n">about</span> <span class="n">the</span> <span class="n">instance</span> <span class="nv">$instance_name</span>
-<span class="n">arch</span> <span class="o">-</span><span class="n">factories</span> <span class="o">=&gt;</span> <span class="n">display</span> <span class="n">the</span> <span class="n">list</span> <span class="n">of</span> <span class="n">available</span> <span class="n">factories</span>
-<span class="n">arch</span> <span class="o">-</span><span class="n">factory</span> <span class="nv">$factory_name</span> <span class="o">=&gt;</span> <span class="n">display</span> <span class="n">complete</span> <span class="n">information</span> <span class="n">about</span> <span class="n">the</span> <span class="n">factory</span> <span class="nv">$factory_name</span>
-<span class="n">arch</span> <span class="o">-</span><span class="n">handlers</span> <span class="o">=&gt;</span> <span class="n">list</span> <span class="n">available</span> <span class="n">handlers</span>
+<div class="codehilite"><pre><span class="nv">arch</span> <span class="o">=</span>&gt; displays instances name &amp; state <span class="o">(</span>equivalent to arch <span class="se">\-</span>instances<span class="o">)</span>
+arch -instance <span class="nv">$instance_name</span> <span class="o">=</span>&gt; displays <span class="nb">complete </span>information about the instance <span class="nv">$instance_name</span>
+arch -factories <span class="o">=</span>&gt; display the list of available factories
+arch -factory <span class="nv">$factory_name</span> <span class="o">=</span>&gt; display <span class="nb">complete </span>information about the factory <span class="nv">$factory_name</span>
+arch -handlers <span class="o">=</span>&gt; list available handlers
 </pre></div>
 
 
@@ -192,7 +200,7 @@
                 may be trademarks or registered trademarks of their respective owners.
                 </div>
                 <div class="timestamp span3 offset2">
-                Rev. 1441864 by fmeschbe on Sun, 3 Feb 2013 06:44:40 +0000
+                Rev. 1443565 by clement on Thu, 7 Feb 2013 15:43:47 +0000
                 </div>
             </div>
         </footer>