Makes a lot of sense, and although OO purists' hearts my flutter, it is better to move forward with a viable solution. Since file repositories need to be carried forward, my feeling is that it be best to follow the path you have already begun ...
-----Original Message----- From: Jason Webb [mailto:[EMAIL PROTECTED] ... File based repositories do not support 2 key IMAP requirements: They cannot be renamed or destroyed (deleted). To be honest the rest of the issues are just wiring. They're not trivial issues, but not show stoppers. My opinion (currently) is that MailRepository must have two additional methods: .deleteRepository() and .renameRepository(String newname) This mirrors the Java File() class in principal. However some people hav expressed a feeling that this is not very OO, as a factory of some sort should be responsible for this management. The issue I have with this is that the Cornerstone repositories create themselves without the use of a factory but after that have no additional management features other than that you can add and delete items from the repository "bucket". Related to this is that when you delete a user from James their mailbox never gets deleted! Does that make sense? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]