From do-not-reply at jboss.org Wed Feb 17 11:53:26 2010 Content-Type: multipart/mixed; boundary="===============4728231706220744817==" 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: r1880 - jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules. Date: Wed, 17 Feb 2010 11:53:26 -0500 Message-ID: <201002171653.o1HGrQW2013216@svn01.web.mwc.hst.phx2.redhat.com> --===============4728231706220744817== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: pnedonosko Date: 2010-02-17 11:53:26 -0500 (Wed, 17 Feb 2010) New Revision: 1880 Modified: jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/configuration= .xml Log: EXOJCR-512 jcr configuration (in progress) Modified: jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/config= uration.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/trunk/docs/reference/en/src/main/docbook/en-US/modules/configuratio= n.xml 2010-02-17 16:40:01 UTC (rev 1879) +++ jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/configuratio= n.xml 2010-02-17 16:53:26 UTC (rev 1880) @@ -149,8 +149,7 @@ =
- Repository service configuration (JCR repositories - configuration) + Repository service configuration = Default configuration of the Repository Service located in jar:/conf/portal/exo-jcr-config.xml, it will be available for portal= and @@ -338,6 +337,113 @@ is applicable = Initializer configuration (optional): + + class - initializer implementation class. + + properties - the list of properties (name-value pairs). Proper= ties + are supported: + + root-nodetype - The node type for root node initialization + + + root-permissions - Default permissions of the root node. It is + defined as a set of semicolon-delimited permissions containing a gro= up + of space-delimited identities (user, group etc, see Organization ser= vice + documentation for details) and the type of permission. For example a= ny + read;:/admin read;:/admin add_node;:/admin set_property;:/admin remo= ve + means that users from group admin have all permissions and other use= rs + have only a 'read' permission. + + Configurable initializer adds a capability to override workspa= ce + initial startup procedure. + + Cache configuration: + + enabled - if workspace cache is enabled + + class - cache implementation class, optional from 1.9. Default + value is + org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspac= eStorageCacheImpl. + + + Cache can be configured to use concrete implementation of + WorkspaceStorageCache interface. JCR core has two implementation to = use: + * LinkedWorkspaceStorageCacheImpl - default, with configurable read + behavior and statistic. * WorkspaceStorageCacheImpl - pre 1.9, still= can + be used. + + properties - the list of properties (name-value pairs) for + Workspace cache: + + max-size - cache maximum size. + + live-time - cached item live time. + + LinkedWorkspaceStorageCacheImpl supports additional optional + parameters TODO + + Query Handler configuration: + + class - A Query Handler class name + + properties - the list of properties (name-value pairs) for a Q= uery + Handler (indexDir) properties and advanced features described in *Se= arch + Configuration* + + Lock Manager configuration: + + time-out - time after which the unused global lock will be + removed. + + persister - a class for storing lock information for future us= e. + For example, remove lock after jcr restart. + + path - a lock folder, each workspace has its own. + + + + Configuration definition: + + <!ELEMENT repository-service (repositories)> + <!ATTLIST repository-service default-repository NMTOKEN #REQUIRED> + <!ELEMENT repositories (repository)> + <!ELEMENT repository (security-domain,access-control,session-max-age,= authentication-policy,workspaces)> + <!ATTLIST repository + default-workspace NMTOKEN #REQUIRED + name NMTOKEN #REQUIRED + system-workspace NMTOKEN #REQUIRED + > + <!ELEMENT security-domain (#PCDATA)> + <!ELEMENT access-control (#PCDATA)> + <!ELEMENT session-max-age (#PCDATA)> + <!ELEMENT authentication-policy (#PCDATA)> + <!ELEMENT workspaces (workspace+)> + <!ELEMENT workspace (container,initializer,cache,query-handler)> + <!ATTLIST workspace name NMTOKEN #REQUIRED> + <!ELEMENT container (properties,value-storages)> + <!ATTLIST container class NMTOKEN #REQUIRED> + <!ELEMENT value-storages (value-storage+)> + <!ELEMENT value-storage (properties,filters)> + <!ATTLIST value-storage class NMTOKEN #REQUIRED> + <!ELEMENT filters (filter+)> + <!ELEMENT filter EMPTY> + <!ATTLIST filter property-type NMTOKEN #REQUIRED> + <!ELEMENT initializer (properties)> + <!ATTLIST initializer class NMTOKEN #REQUIRED> + <!ELEMENT cache (properties)> + <!ATTLIST cache = + enabled NMTOKEN #REQUIRED + class NMTOKEN #REQUIRED + > + <!ELEMENT query-handler (properties)> + <!ATTLIST query-handler class NMTOKEN #REQUIRED> + <!ELEMENT access-manager (properties)> + <!ATTLIST access-manager class NMTOKEN #REQUIRED> + <!ELEMENT lock-manager (time-out,persister)> + <!ELEMENT time-out (#PCDATA)> + <!ELEMENT persister (properties)> + <!ELEMENT properties (property+)> + <!ELEMENT property EMPTY>
--===============4728231706220744817==--