You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Przemo Pakulski (JIRA)" <ji...@apache.org> on 2006/10/24 11:15:16 UTC

[jira] Created: (JCR-601) Delete workspace support

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

        

[jira] Commented: (JCR-601) Delete workspace support

Posted by "Przemo Pakulski (JIRA)" <ji...@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

        

[jira] Resolved: (JCR-601) Delete workspace support

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-601.
------------------------

    Resolution: Won't Fix
      Assignee: angela

JCR 2.0 will provide a new method 

Workspace#deleteWorkspace(String name)

i think we don't need to add that functionality separately to JackrabbitWorkspace in the jackrabbit-api.

> Delete workspace support
> ------------------------
>
>                 Key: JCR-601
>                 URL: https://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
>            Assignee: angela
>            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (JCR-601) Delete workspace support

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reopened JCR-601:
-----------------------------------


I agree with you angela that we don't need the method in JackrabbitWorkspace (though to have it for symmetry might be another argument).

Whatever, since the method will be part of JSR-283, how about creating an o.a.j.api.jsr283.Workspace interface containing the JSR-283 Workpsace additions, just like for the other interfaces ?

Or did I miss something ?

> Delete workspace support
> ------------------------
>
>                 Key: JCR-601
>                 URL: https://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
>            Assignee: angela
>            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-601) Delete workspace support

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-601.
------------------------

    Resolution: Won't Fix

this issue (delete workspace support in jackrabbit API) should from my point of view be resolved won't fix. if we add a temporary Workspace interface to the jsr283 package is a different story.... we may or may not do that depending on the needs.

> Delete workspace support
> ------------------------
>
>                 Key: JCR-601
>                 URL: https://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
>            Assignee: angela
>            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.
-
You can reply to this email to add a comment to the issue online.