[cvs] expresso commit by lhamel: change method name
JCorporate Ltd
jcorp at jcorporate.com
Mon Feb 21 17:49:05 UTC 2005
Log Message:
-----------
change method name
Modified Files:
--------------
expresso/expresso-web/expresso/doc/edg:
caching.xml
Revision Data
-------------
Index: caching.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/expresso/doc/edg/caching.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -Lexpresso-web/expresso/doc/edg/caching.xml -Lexpresso-web/expresso/doc/edg/caching.xml -u -r1.9 -r1.10
--- expresso-web/expresso/doc/edg/caching.xml
+++ expresso-web/expresso/doc/edg/caching.xml
@@ -104,14 +104,15 @@
To provide access to the actual cached, read-only objects, two new methods
(one static and one instance method) are available in DBObject:
<programlisting>
- public DBObject getImmutableObjectFromCache(String keyValues)
- public static DBObject getImmutableCachedObject(Class dbobjClass, String keyValues)
+ public DBObject fetchImmut()
+ public static DBObject fetchImmutable(Class dbobjClass, String keyValues)
</programlisting>
</para>
<para>
An example of access might be:
<programlisting>
- Room room = (Room) DBObject.getImmutableCachedObject(Room.class, roomID);
+ UserAttribute attr = (UserAttribute) UserAttribute.fetchImmutable(
+ UserAttribute.class, userID + "|" + attrName);
</programlisting>
</para>
More information about the cvs
mailing list