Date: 2004-11-04T16:33:50
Editor: BrianLee <[EMAIL PROTECTED]>
Wiki: Jakarta-Slide Wiki
Page: DefinitionNode
URL: http://wiki.apache.org/jakarta-slide/DefinitionNode
no comment
Change Log:
------------------------------------------------------------------------------
@@ -110,15 +110,32 @@
FileSequenceStore
-===== Reference =====
+From my understanding (please correct me if I'm wrong), you have the following
choices in regard to low level services related to stores.
+
+ 1. Define the low level service by associating it with the appropriate concrete class
+
+{{{
+<securitystore classname="org.apache.slide.store.mem.TransientSecurityStore"/>
+}}}
+
+ 2. Define a low level service that can be referenced by other low level services as
seen in nodestore
{{{
+<nodestore classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
+ <parameter name="rootpath">store/metadata</parameter>
+ <parameter name="workpath">work/metadata</parameter>
+ <parameter name="defer-saving">true</parameter>
+ <parameter name="timeout">120</parameter>
+</nodestore>
<securitystore>
<reference store="nodestore"/>
</securitystore>
}}}
"The reference means that for the security store the same object is used as is, is
configured at the node store." To get a better understanding compare the default
nodestore definition (above) and the nodestore definition using JDBC. The default
nodestore stores all of its data in XML format text files while the nodestore below
stores the data in predefined tables.
+
+
+
==== Content Store ====
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]