jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: BackupTool Main Class
Date Mon, 26 Jun 2006 09:57:31 GMT
> I'd put the save/restore methods in RepositoryImpl (and later on
> probably also in the JackrabbitRepository interface) and let the end
> user decide how to call them.
save/restore are no symmetric. backup/restore, save/load,
export/import, would be. i would prefer a
RepositoryImpl.getBackupManager() call, that then can have whatever
methods make sense.

btw: i don't like the Input/Output streams on the save/restore
methods. especially when dealing with large repositories, you will
need java.nio, split-files, etc.

regards, toby
-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message