Changes between Version 10 and Version 11 of GROUP_PERSISTENCE_R0
- Timestamp:
- 05/22/09 21:13:48 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_PERSISTENCE_R0
v10 v11 177 177 - Also all basic persisters for immutables from the jdk or the base.commons. 178 178 It should provide extension point for registration of persisters. All persisters of a non basic objects should be placed and registered in the modules of the object they are responsible for. 179 [source:/branches/private/mira/sophie2-platform/modules/org.sophie2.base.persistence/src/test/java/org/sophie2/base/persistence/storage/CommonsPersistenceTest.java CommonsPersistenceTest] 179 180 180 181 There should be class !MasterPersister which tracks the registered persisters. All other persisters should use it to persist objects that are not their responsibility. The !MasterPersister should find the appropriate persister for a given schema and call it with given parameters. This should be done in the static method void persist(Object source, Object target, Mode mode, String schema).