jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1834) Create RepositoryFactory implementation
Date Mon, 03 Nov 2008 10:30:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644678#action_12644678

Thomas Mueller commented on JCR-1834:

It's great to have a implementation-independent way to open a repository!

This implementation can't do a few things. The following use cases are unimportant for me,
are they important for somebody else?:

- An application can not get a list of installed providers. Workaround: use javax.imageio.spi.ServiceRegistry

- An application can not specify what provider to use (using RepositoryFactory): The repository
factory calls connect on each provider, and returns the repository of the first provider that
doesn't return null. Workaround: call the implementation directly.

- An application can not find out what properties need to be set. I don't know of a workaround.
It could be solved by adding RepositoryFactory.getParameterInfo similar to java.sql.Driver.getPropertyInfo.

> Create RepositoryFactory implementation
> ---------------------------------------
>                 Key: JCR-1834
>                 URL: https://issues.apache.org/jira/browse/JCR-1834
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: JCR 2.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.patch
> JSR 283 specifies a RepositoryFactory to retrieve a repository instance based on a map
of parameters. We should have the following implementations:
> - local repository with repository home and repository configuration parameters
> - repository obtained via JNDI
> - repository obtained via RMI

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

View raw message