Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 62430 invoked from network); 27 Nov 2001 20:13:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Nov 2001 20:13:46 -0000 Received: (qmail 24058 invoked by uid 97); 27 Nov 2001 20:13:50 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 24042 invoked by uid 97); 27 Nov 2001 20:13:50 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 24031 invoked by uid 97); 27 Nov 2001 20:13:49 -0000 Date: 27 Nov 2001 19:56:56 -0000 Message-ID: <20011127195656.9203.qmail@icarus.apache.org> From: hammant@apache.org To: jakarta-avalon-cornerstone-cvs@apache.org Subject: cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/masterstore/xml XMLFilePersistentObjectRepository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hammant 01/11/27 11:56:56 Modified: src/java/org/apache/avalon/cornerstone/blocks/masterstore/xml XMLFilePersistentObjectRepository.java Log: warning for use on this impl Revision Changes Path 1.2 +11 -0 jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/masterstore/xml/XMLFilePersistentObjectRepository.java Index: XMLFilePersistentObjectRepository.java =================================================================== RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/masterstore/xml/XMLFilePersistentObjectRepository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- XMLFilePersistentObjectRepository.java 2001/11/26 09:56:12 1.1 +++ XMLFilePersistentObjectRepository.java 2001/11/27 19:56:56 1.2 @@ -19,6 +19,17 @@ * This is a simple implementation of persistent object store using * XML serialization from JDK 1.4 to a file system. * + * This implementation of ObjectRepository comes with the following warning: + * "XMLEncoder provides suitable persistence delegates + * for all public subclasses of java.awt.Component in J2SE and the types of + * all of their properties, recursively. All other classes will be handled + * with the default persistence delegate which assumes the class follows + * the beans conventions" (snipped from Bigparade) + * + * Basically, don't use this block for anything other than Swing component + * serialization. Sun will have to do a lot of work writing a + * "PersistenceDelegate" to handle other JDK types let alone custom classes. + * * @author Paul Hammant * @author Stefano Mazzocchi * @author Federico Barbieri -- To unsubscribe, e-mail: For additional commands, e-mail: