arminw 2005/08/12 09:33:53
Modified: src/doc/forrest/src/documentation/content/xdocs/docu/guides
Tag: OJB_1_0_RELEASE objectcache.xml
src/test/org/apache/ojb Tag: OJB_1_0_RELEASE
repository_database.xml
Log:
add note about new property
Revision Changes Path
No revision
No revision
1.1.2.6 +20 -1
db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml
Index: objectcache.xml
===================================================================
RCS file:
/home/cvs/db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- objectcache.xml 13 May 2005 18:24:31 -0000 1.1.2.5
+++ objectcache.xml 12 Aug 2005 16:33:53 -0000 1.1.2.6
@@ -501,11 +501,14 @@
<!-- meaning of attributes, please see docs section "Caching" -->
<!-- common attributes -->
<attribute attribute-name="cacheExcludes" attribute-value=""/>
+
<!-- ObjectCacheTwoLevelImpl attributes -->
<attribute attribute-name="applicationCache"
attribute-value="org.apache.ojb.broker.cache.ObjectCacheDefaultImpl"/>
<attribute attribute-name="copyStrategy"
attribute-value="org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl$CopyStrategyImpl"/>
+ <attribute attribute-name="forceProxies" attribute-value="true"/>
+
<!-- ObjectCacheDefaultImpl attributes -->
<attribute attribute-name="timeout" attribute-value="900"/>
<attribute attribute-name="autoSync" attribute-value="true"/>
@@ -603,6 +606,22 @@
copies of the cached objects).
</td>
</tr>
+ <tr>
+ <td>forceProxies</td>
+ <td>
+ If <em>true</em> on materialization of cached
objects, all referenced objects will
+ be represented by proxy objects (independent
from the proxy settings in
+ <link
href="site:repository/reference-descriptor">reference-</link> or
+ <link
href="site:repository/collection-descriptor">collection-descriptor</link>).
+ <p/>
+ <strong>Note:</strong> To use this feature all
persistence capable objects have to be
+ interface based <strong>or</strong> the
<code>ProxyFactory</code> and
+ <code>IndirectionHandler</code> implementation
classes supporting dynamic proxy enhancement
+ for all classes (see <link
href="ext:ojb.properties">OJB.properties</link>, find more
+ information about
+ <link
href="site:basic-technique/proxy-customization">proxy settings here</link>).
+ </td>
+ </tr>
</table>
</section>
No revision
No revision
1.22.2.12 +4 -1 db-ojb/src/test/org/apache/ojb/repository_database.xml
Index: repository_database.xml
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_database.xml,v
retrieving revision 1.22.2.11
retrieving revision 1.22.2.12
diff -u -r1.22.2.11 -r1.22.2.12
--- repository_database.xml 8 Aug 2005 13:18:49 -0000 1.22.2.11
+++ repository_database.xml 12 Aug 2005 16:33:53 -0000 1.22.2.12
@@ -66,9 +66,12 @@
<!-- meaning of attributes, please see docs section "Caching" -->
<!-- common attributes -->
<attribute attribute-name="cacheExcludes" attribute-value=""/>
+
<!-- ObjectCacheTwoLevelImpl attributes -->
<attribute attribute-name="applicationCache"
attribute-value="org.apache.ojb.broker.cache.ObjectCacheDefaultImpl"/>
<attribute attribute-name="copyStrategy"
attribute-value="org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl$CopyStrategyImpl"/>
+ <attribute attribute-name="forceProxies"
attribute-value="false"/>
+
<!-- ObjectCacheDefaultImpl attributes -->
<attribute attribute-name="timeout" attribute-value="900"/>
<attribute attribute-name="autoSync" attribute-value="true"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]