[ 
https://issues.apache.org/jira/browse/JCR-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551495
 ] 

Thomas Mueller commented on JCR-1154:
-------------------------------------

Stefan, I don't think we are talking about the same issue. It was never the 
idea to add this method to JackrabbitRepository. Anyway, I found a workaround 
to get the workspace names (if you need it):

        RepositoryImpl r = (RepositoryImpl) rep;
        RepositoryConfig conf = r.getConfig();
        Collection coll = conf.getWorkspaceConfigs();
        for(Iterator it = coll.iterator(); it.hasNext();) {
            WorkspaceConfig wsc = (WorkspaceConfig) it.next();
            wsc.getName();
        }

There is no session required to call those methods. In any case, the workspace 
names may not be required for the data store garbage collection. I will propose 
another solution.

> Database Data Store
> -------------------
>
>                 Key: JCR-1154
>                 URL: https://issues.apache.org/jira/browse/JCR-1154
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Blocker
>             Fix For: 1.4
>
>         Attachments: jr-1.3.1-bea.zip
>
>
> We want to have a database backed data store implementation.
> An implementation using files is already available as part of JCR-926.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to