jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemo Pakulski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-601) Delete workspace support
Date Tue, 24 Oct 2006 09:28:19 GMT
    [ 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


View raw message