From do-not-reply at jboss.org Mon Jun 14 03:31:55 2010 Content-Type: multipart/mixed; boundary="===============1150802740599980308==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: exo-jcr-commits at lists.jboss.org Subject: [exo-jcr-commits] exo-jcr SVN: r2561 - jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/kernel. Date: Mon, 14 Jun 2010 03:31:54 -0400 Message-ID: <201006140731.o5E7Vs1B023748@svn01.web.mwc.hst.phx2.redhat.com> --===============1150802740599980308== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/ker= nel/configuration.xml Log: EXOJCR-784: config fixed Modified: jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modu= les/kernel/configuration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- jcr/branches/1.12.x/docs/reference/en/src/main/docbook/en-US/modules/ke= rnel/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/ke= rnel/configuration.xml 2010-06-14 07:31:54 UTC (rev 2561) @@ -1151,21 +1151,44 @@ <type>Component</type> </component> = -<component profile=3D"foo"> +<component profiles=3D"foo"> <key>Component</key> <type>FooComponent</type> </component> =
+ Component plugin element + + 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: + + <external-component-plugins> + <target-component>Component</target-component> + <component-plugin profiles=3D"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> +
+ +
Import element = The import element imports a referenced configuration file when activated: = <import>empty</import> -<import profile=3D"foo">foo</import> -<import profile=3D"bar">bar</import> +<import profiles=3D"foo">foo</import> +<import profiles=3D"bar">bar</import>
=
@@ -1182,11 +1205,11 @@ <name>param</name> <value>empty</value> </value-param> - <value-param profile=3D"foo"> + <value-param profiles=3D"foo"> <name>param</name> <value>foo</value> </value-param> - <value-param profile=3D"bar"> + <value-param profiles=3D"bar"> <name>param</name> <value>bar</value> </value-param> @@ -1204,8 +1227,8 @@ <field name=3D"role"> <collection type=3D"java.util.ArrayList"> <value><string>manager</string></value> - <value profile=3D"foo"><string>foo_manager</string>= ;</value> - <value profile=3D"foo,bar"><string>foo_bar_manager</s= tring></value> + <value profiles=3D"foo"><string>foo_manager</string&g= t;</value> + <value profiles=3D"foo,bar"><string>foo_bar_manager</= string></value> </collection> </field> </object> @@ -1225,12 +1248,12 @@ <value><string>manager</string></value> </collection> </field> - <field name=3D"role" profile=3D"foo,bar"> + <field name=3D"role" profiles=3D"foo,bar"> <collection type=3D"java.util.ArrayList"> <value><string>foo_bar_manager</string></valu= e> </collection> </field> - <field name=3D"role" profile=3D"foo"> + <field name=3D"role" profiles=3D"foo"> <collection type=3D"java.util.ArrayList"> <value><string>foo_manager</string></value> </collection> --===============1150802740599980308==--