You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2013/04/25 14:13:12 UTC

svn commit: r1475720 - in /felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo: ./ apache-felix-ipojo-devguide/ apache-felix-ipojo-tools/ apache-felix-ipojo-userguide/describing-components/

Author: clement
Date: Thu Apr 25 12:13:11 2013
New Revision: 1475720

URL: http://svn.apache.org/r1475720
Log:
fix broken links

Added:
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-quicktart-distribution.zip   (with props)
Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-devguide/how-to-use-ipojo-manipulation-metadata.mdtext
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-plugin.mdtext
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.mdtext
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/controller-lifecycle-handler.mdtext
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.mdtext
    felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/developing-camel-mediators-with-ipojo.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-devguide/how-to-use-ipojo-manipulation-metadata.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-devguide/how-to-use-ipojo-manipulation-metadata.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-devguide/how-to-use-ipojo-manipulation-metadata.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-devguide/how-to-use-ipojo-manipulation-metadata.mdtext Thu Apr 25 12:13:11 2013
@@ -71,7 +71,7 @@ When querying field (or a method argumen
 * For primitive types : int, long, short, byte, char, double, float, boolean
 * For primitives type arrays : int[], long[], short[], byte[], char[], double[], float[], boolean[]
 * For object : qualified class name as java.lang.String
-* For object arrays : the qualified class name of the content type followed by []({{ refs..path }}) as java.lang.String[]
+* For object arrays : the qualified class name of the content type followed by [] as java.lang.String[]
 
 Array types are different from Java internal/reflective array types. To get the internal/reflective array type for field type you can use the `getReflectiveType` method.
   

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-plugin.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-plugin.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-plugin.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-plugin.mdtext Thu Apr 25 12:13:11 2013
@@ -24,4 +24,49 @@ To use the plugin you need an OSGi platf
 * a HTTP Service
 * The Apache Felix Webconsole
 * iPOJO 
-* The iPOJO Web console plugin
\ No newline at end of file
+* The iPOJO Web console plugin
+
+You can download [this Felix distribution](ipojo-webconsole-quicktart-distribution.zip) as a deployment example. Unzip the archive and go to the Felix directory to launch Felix:
+
+	:::sh
+	cd ipojo-webconsole-quicktart-1.9.0-SNAPSHOT/felix-framework-4.2.1/
+	java -jar bin/felix.jar
+
+Once launched, you can check the deployed bundles:
+
+	:::sh
+	[INFO] Started jetty 6.1.x at port(s) HTTP:8080
+	____________________________
+	Welcome to Apache Felix Gogo
+
+	g! INFO : org.apache.felix.webconsole.plugins.memoryusage (17): Storing Memory Dumps in /Users/clement/Projects/felix-trunk/ipojo/distributions/ipojo-webconsole-quicktart/target/ipojo-webconsole-quicktart-1.9.0-SNAPSHOT/felix-framework-4.2.1/./felix-cache/bundle17/data/dumps
+	INFO : org.apache.felix.webconsole.plugins.memoryusage (17): Setting Automatic Memory Dump Threshold to 0% for pools [CMS Old Gen, CMS Perm Gen, Code Cache]
+	INFO : org.apache.felix.webconsole.plugins.memoryusage (17): Automatic Memory Dump cannot be set for pools [Par Eden Space, Par Survivor Space]
+	INFO : org.apache.felix.webconsole.plugins.memoryusage (17): Setting Automatic Memory Dump Interval to 21600 seconds
+
+	g! lb
+	START LEVEL 1
+	   ID|State      |Level|Name
+	    0|Active     |    0|System Bundle (4.2.1)
+	    1|Active     |    1|Java Servlet API (2.4.0)
+	    2|Active     |    1|Commons FileUpload (1.2.2)
+	    3|Active     |    1|Commons IO (2.4.0)
+	    4|Active     |    1|Apache Felix Bundle Repository (1.6.6)
+	    5|Active     |    1|Apache Felix Gogo Command (0.12.0)
+	    6|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
+	    7|Active     |    1|Apache Felix Gogo Shell (0.10.0)
+	    8|Active     |    1|Apache Felix Http Api (2.2.0)
+	    9|Active     |    1|Apache Felix Http Base (2.2.0)
+	   10|Active     |    1|Apache Felix Http Jetty (2.2.0)
+	   11|Active     |    1|Apache Felix iPOJO (1.8.6)
+	   12|Active     |    1|Apache Felix iPOJO Annotations (1.8.6)
+	   13|Active     |    1|Apache Felix iPOJO Gogo Command (1.0.1)
+	   14|Active     |    1|iPOJO Metadata (1.6.0)
+	   15|Active     |    1|Apache Felix iPOJO WebConsole Plugins (1.7.0.SNAPSHOT)
+	   16|Active     |    1|Apache Felix Web Management Console (4.0.0)
+	   17|Active     |    1|Apache Felix Web Console Memory Usage Plugin (1.0.2)
+	   18|Active     |    1|Apache Felix Web Console Package Admin Service Plugin (1.0.0)
+	   19|Active     |    1|osgi.cmpn (4.2.0.200908310645)
+	   20|Active     |    1|OW2 Chameleon - JSON Bundle (from org.json) (20090911.0.0.0002)	
+
+You access the web console at: http://localhost:8080/system/console/. The login/password are _admin_/_admin_. The iPOJO tabs gives you all the iPOJO information of the system.	   
\ No newline at end of file

Added: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-quicktart-distribution.zip
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-quicktart-distribution.zip?rev=1475720&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-webconsole-quicktart-distribution.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/architecture-handler.mdtext Thu Apr 25 12:13:11 2013
@@ -6,7 +6,7 @@ Title: Architecture Handler
 
 # Introspection and Architecture
 
-*The architecture feature allows obtaining an architectural / component view of your systems. It exposes a snapshot of the present instances & factories, the state of these instances... Moreover; iPOJO defines an 'arch' command displaying this architecture in Felix. You need to install [the arch command]({{ refs.felix-ipojo-arch-command.path }}).*
+*The architecture feature allows obtaining an architectural / component view of your systems. It exposes a snapshot of the present instances & factories, the state of these instances... Moreover; iPOJO defines an 'arch' command displaying this architecture in Felix. You need to install [the arch command](/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-arch-command.html).*
 
 [TOC]
 
@@ -25,17 +25,34 @@ By default, the architecture feature is 
 
 ## The "arch" command
 
-A Felix command comes with the architecture handler. This command looks for all component exposing the architecture and print the information.
+The Gogo commands are the following:
 
-	:::sh
-    arch => displays instances name & state (equivalent to arch \-instances)
-    arch -instance $instance_name => displays complete information about the instance $instance_name
-    arch -factories => display the list of available factories
-    arch -factory $factory_name => display complete information about the factory $factory_name
-    arch -handlers => list available handlers
+* `ipojo:instances` (or just `instances`) lists the instances and state
+* `ipojo:instance $instance_name` (or just `instance $instance_name`) displays the complete information about the specified $instance_name
+* `ipojo:factories` (or just `factories`) lists the available public factories
+* `ipojo:factory $factory_name` (or just `factory $factory_name`) displays complete information about the factory $factory_name
+* `ipojo:handlers` (or just `handlers` lists available handlers
+    
+For example:
+
+    :::sh
+    $ instances
+    Instance ArchCommand -> valid
+    Instance spell.english.EnglishDictionary-0 -> valid
+    Instance spell.checker.SpellCheck-0 -> valid
+    Instance spell.gui.SpellCheckerGui-0 -> valid
+
+    $ instance spell.checker.SpellCheck-0                                    
+    instance component.type="spell.checker.SpellCheck" state="valid" bundle="8" name="spell.checker.SpellCheck-0"
+        handler state="valid" name="org.apache.felix.ipojo.handlers.dependency.DependencyHandler"
+            requires optional="false" aggregate="false" state="resolved" binding-policy="dynamic" specification="spell.services.DictionaryService"
+        handler state="valid" name="org.apache.felix.ipojo.handlers.providedservice.ProvidedServiceHandler"
+            provides service.id="36" state="registered" specifications="[spell.services.SpellChecker]"
+                property value="spell.checker.SpellCheck" name="factory.name"
+                property value="spell.checker.SpellCheck-0" name="instance.name"
+        handler state="valid" name="org.apache.felix.ipojo.handlers.architecture.ArchitectureHandler"    
 
-
-More info on the `arch` command are available [here]({{ refs.ipojo-arch-command.path }}).
+More info on the `arch` command are available [here](/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-arch-command.html).
 
 ## Technical information
 

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/controller-lifecycle-handler.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/controller-lifecycle-handler.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/controller-lifecycle-handler.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/controller-lifecycle-handler.mdtext Thu Apr 25 12:13:11 2013
@@ -5,7 +5,7 @@ Title: Controller Lifecycle Handler
 
 # Lifecycle Controller Handler
 
-*The lifecycle controller allows a component implementation to participate to the instance lifecycle. So, you can immediately decide to stop an instance if the configuration is incorrect (correct properties, accessible resources...). The licecyel controller impacts the instance lifecycle, if you want to impact only the registered service, have a look to the service controller ([service providing]({{ refs.felix-providing-osgi-services.path }})).*
+*The lifecycle controller allows a component implementation to participate to the instance lifecycle. So, you can immediately decide to stop an instance if the configuration is incorrect (correct properties, accessible resources...). The licecyel controller impacts the instance lifecycle, if you want to impact only the registered service, have a look to the service controller ([service providing](/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.html).*
 
 [TOC]
 

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/providing-osgi-services.mdtext Thu Apr 25 12:13:11 2013
@@ -43,7 +43,7 @@ In XML, to provide the service, the comp
 
 <img src="ps-foo.png">
 
-The `<provides/>` or `@Provides` suffice to declare that each instance of this type will provide the FooService (for more info about instances see [FELIX:How-to use iPOJO factories]({{ refs.felix-how-to-use-ipojo-factories.path }})). The provided specifications can be discovered by analyzing the implementation class. By default, all implemented interface are published in the same service registration. iPOJO looks down the entire inheritance tree.
+The `<provides/>` or `@Provides` suffice to declare that each instance of this type will provide the FooService (for more info about instances see '[How to use iPOJO factories](/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/ipojo-advanced-topics/how-to-use-ipojo-factories.html)`). The provided specifications can be discovered by analyzing the implementation class. By default, all implemented interface are published in the same service registration. iPOJO looks down the entire inheritance tree.
 
 ## Service Publication
 

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/developing-camel-mediators-with-ipojo.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/developing-camel-mediators-with-ipojo.mdtext?rev=1475720&r1=1475719&r2=1475720&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/developing-camel-mediators-with-ipojo.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-ipojo/developing-camel-mediators-with-ipojo.mdtext Thu Apr 25 12:13:11 2013
@@ -3,7 +3,7 @@ Title: Developing Camel mediators with i
 
 # Developing Camel mediators with iPOJO
 
-*The [Camel OSGi tutorial ](http://http://camel.apache.org/tutorial-osgi-camel-part1.html) provides a very simple and neat overview of Camel. This article mentions the usage of iPOJO to implement the mediator. This document provides this implementation.*
+*The [Camel OSGi tutorial ](http://camel.apache.org/tutorial-osgi-camel-part1.html) provides a very simple and neat overview of Camel. This article mentions the usage of iPOJO to implement the mediator. This document provides this implementation.*
 
 ## Step 1 : Initial project setup
 Instead of using the 'spring-osgi-bundle-archetype' maven archetype, we will use the iPOJO one to create the iPOJO bundle.