Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 994 invoked from network); 26 Oct 2006 06:09:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:09:21 -0000 Received: (qmail 27913 invoked by uid 500); 24 Oct 2006 09:29:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 27888 invoked by uid 500); 24 Oct 2006 09:29:29 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 27866 invoked by uid 99); 24 Oct 2006 09:29:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 02:29:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 02:29:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B28897142BF for ; Tue, 24 Oct 2006 02:28:19 -0700 (PDT) Message-ID: <10014163.1161682099600.JavaMail.root@brutus> Date: Tue, 24 Oct 2006 02:28:19 -0700 (PDT) From: "Przemo Pakulski (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-601) Delete workspace support In-Reply-To: <24248509.1161681316535.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/JCR-601?page=comments#action_12444261 ] Przemo Pakulski commented on JCR-601: ------------------------------------- It can be quite useful to be able remove workspace programatically, and we are interested in contributing patch for this feature. To implement his feature we are going to do following changes : - add deleteWorkspace method to JackrabbitWorkspace interface, - add deleteWorkspace method implementation to RepositoryImpl class, deleteWorkspace will contain : * check if workspace can be deleted if idle (no active session exists), * dispose workspace, delete workspace folder, * delete workspace resources including : FileSystem, PersistenceManager, SearchIndex, - to allow deleting workspace resources destroy method to all workspace related components (FileSystem, PersistenceManager, SearchIndex) will be added, and abstract classes will implement this method by throwing OperationNotSupported exception - add implementation of destroy methods for components used in default Jackrabbit configuration (LocalFileSystem, DerbyPM, lucene SearchIndex). Is there anything else that should be done if workspace is removed ? Any comments welcome. > Delete workspace support > ------------------------ > > Key: JCR-601 > URL: http://issues.apache.org/jira/browse/JCR-601 > Project: Jackrabbit > Issue Type: Improvement > Components: Jackrabbit API > Affects Versions: 0.9, 1.0, 1.0.1, 1.1 > Reporter: Przemo Pakulski > Priority: Minor > > JackrabbitWorkspace interface defines method to create new workspace, > but there is no method to remove workspace programatically. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira