Author: nfilotto
Date: 2010-06-14 03:31:54 -0400 (Mon, 14 Jun 2010)
New Revision: 2561
Modified:
jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/kernel/configuration.xml
Log:
EXOJCR-784: config fixed
Modified:
jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/kernel/configuration.xml
===================================================================
---
jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/kernel/configuration.xml 2010-06-14
06:52:48 UTC (rev 2560)
+++
jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/kernel/configuration.xml 2010-06-14
07:31:54 UTC (rev 2561)
@@ -1151,21 +1151,44 @@
<type>Component</type>
</component>
-<component profile="foo">
+<component profiles="foo">
<key>Component</key>
<type>FooComponent</type>
</component></programlisting>
</section>
<section>
+ <title>Component plugin element</title>
+
+ <para>The component-plugin element is used to dynamically extend the
+ configuration of a given component. Thanks to the profiles the
+ component-plugins could be enabled or disabled:</para>
+
+ <programlisting><external-component-plugins>
+ <target-component>Component</target-component>
+ <component-plugin profiles="foo">
+ <name>foo</name>
+ <set-method>addPlugin</set-method>
+ <type>type</type>
+ <init-params>
+ <value-param>
+ <name>param</name>
+ <value>empty</value>
+ </value-param>
+ </init-params>
+ </component-plugin>
+</external-component-plugins></programlisting>
+ </section>
+
+ <section>
<title>Import element</title>
<para>The import element imports a referenced configuration file
when activated:</para>
<programlisting><import>empty</import>
-<import profile="foo">foo</import>
-<import
profile="bar">bar</import></programlisting>
+<import profiles="foo">foo</import>
+<import
profiles="bar">bar</import></programlisting>
</section>
<section>
@@ -1182,11 +1205,11 @@
<name>param</name>
<value>empty</value>
</value-param>
- <value-param profile="foo">
+ <value-param profiles="foo">
<name>param</name>
<value>foo</value>
</value-param>
- <value-param profile="bar">
+ <value-param profiles="bar">
<name>param</name>
<value>bar</value>
</value-param>
@@ -1204,8 +1227,8 @@
<field name="role">
<collection type="java.util.ArrayList">
<value><string>manager</string></value>
- <value
profile="foo"><string>foo_manager</string></value>
- <value
profile="foo,bar"><string>foo_bar_manager</string></value>
+ <value
profiles="foo"><string>foo_manager</string></value>
+ <value
profiles="foo,bar"><string>foo_bar_manager</string></value>
</collection>
</field>
</object></programlisting>
@@ -1225,12 +1248,12 @@
<value><string>manager</string></value>
</collection>
</field>
- <field name="role" profile="foo,bar">
+ <field name="role" profiles="foo,bar">
<collection type="java.util.ArrayList">
<value><string>foo_bar_manager</string></value>
</collection>
</field>
- <field name="role" profile="foo">
+ <field name="role" profiles="foo">
<collection type="java.util.ArrayList">
<value><string>foo_manager</string></value>
</collection>