From dna-commits at lists.jboss.org Wed Jun 10 17:32:53 2009 Content-Type: multipart/mixed; boundary="===============4389028082041076389==" MIME-Version: 1.0 From: dna-commits at lists.jboss.org To: dna-commits at lists.jboss.org Subject: [dna-commits] DNA SVN: r1033 - trunk/docs/reference/src/main/docbook/en-US/content/connectors. Date: Wed, 10 Jun 2009 17:22:10 -0400 Message-ID: --===============4389028082041076389== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: rhauch Date: 2009-06-10 17:22:09 -0400 (Wed, 10 Jun 2009) New Revision: 1033 Modified: trunk/docs/reference/src/main/docbook/en-US/content/connectors/federatio= n.xml Log: DNA-449 Federation connector does not find it's configuration when imported= using the JcrConfiguration Updated the Reference Guide's chapter on the federated connector so that it= reflects the (slightly) updated approach. Note that several JavaBean prop= erties are no longer needed, which should make it at least a little easier = to configure. Modified: trunk/docs/reference/src/main/docbook/en-US/content/connectors/fe= deration.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 --- trunk/docs/reference/src/main/docbook/en-US/content/connectors/federati= on.xml 2009-06-10 21:22:01 UTC (rev 1032) +++ trunk/docs/reference/src/main/docbook/en-US/content/connectors/federati= on.xml 2009-06-10 21:22:09 UTC (rev 1033) @@ -401,31 +401,21 @@ Configuration The federated repository uses other &RepositorySource;s that are to be= federated and a &RepositorySource; that is to be used as the - cache of the unified contents. These are configured in another &Repos= itorySource; that is treated as a configuration repository. - The &FederatedRepositorySource; class uses JavaBean properties to defi= ne the name of the configuration repository and = - the path to the "dna:federation" node in that configurati= on repository containing the information about the = - cache and federated sources. This graph structure that is expected at= this location is as follows: + cache of the unified contents. These are configured in another &Repos= itorySource; that is treated as a configuration repository, + which should contain information about the workspaces and how other so= urces are projected: - - - - - /" /> - - - - /" /> - /" /> - /" /> - - - - + + + + + /" /> + /" /> + + + ]]> @@ -440,7 +430,8 @@ Repository Source properties - The &FederatedRepositorySource; class provides a number of JavaBean pr= operties that control its behavior: + While the majority of the configuration is defined using the configura= tion source (as discussed above), the &FederatedRepositorySource; = + class have have a few JavaBean properties: &FederatedRepositorySource; properties @@ -459,23 +450,6 @@ The name of the repository source, which is used by the &Rep= ositoryService; when obtaining a &RepositoryConnection; by name. - configurationSourceName - The name of the &RepositorySource; that should be used as th= e configuration repository, and in which is defined - how this federated repository is to be set up and configured. - This name is supplied to the &RepositoryConnectionFactory; that is= provided to this instance when added to the - &RepositoryLibrary;. - - - configurationWorkspaceName - The name of the workspace in the configuration &RepositorySo= urce; with the content defining - how this federated repository is to be set up and configured. - - - configurationSourcePath - The path to the node in the configuration repository below w= hich a "dna:federation" node exists with the = - graph structure describing how this federated repository is to be = configured. - - retryLimit Optional property that, if used, defines the number of times= that any single operation on a &RepositoryConnection; to this source shoul= d be retried following a communication failure. The default value is '0'. --===============4389028082041076389==--