You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2008/10/23 10:54:45 UTC

[jira] Created: (JCR-1834) Create RepositoryFactory implementation

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


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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-jcr-rmi.patch

Updated jackrabbit-jcr-rmi.patch

> 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-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.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.


[jira] Updated: (JCR-1834) JSR 283: Create RepositoryFactory implementation

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

angela updated JCR-1834:
------------------------

    Summary: JSR 283: Create RepositoryFactory implementation  (was: Create RepositoryFactory implementation)

> JSR 283: Create RepositoryFactory implementation
> ------------------------------------------------
>
>                 Key: JCR-1834
>                 URL: https://issues.apache.org/jira/browse/JCR-1834
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: JCR 2.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.patch, jackrabbit-jcr-rmi.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-api.patch

Based on discussions in the JSR 283 EG I have updated the jackrabbit-api.patch. RepositoryFactory is now an interface with a single method.

> 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-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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-jcr-rmi.patch

Implementation in jackrabbit-jcr-rmi.

Feedback welcome.

> 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.


[jira] Resolved: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger resolved JCR-1834.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Added RepositoryFactory interface in revision: 721387

Please note that this is only a preliminary interface and will be replaced with the official RepositoryFactory interface once JCR 2.0 is final and available.

> 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
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.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.


[jira] Commented: (JCR-1834) Create RepositoryFactory implementation

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651504#action_12651504 ] 

Marcel Reutegger commented on JCR-1834:
---------------------------------------

Applied jackrabbit-core patch in revision: 721388

Applied jackrabbit-jcr-rmi patch in revision: 721389

> 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
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.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.


[jira] Commented: (JCR-1834) Create RepositoryFactory implementation

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ 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 directly. 

- 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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

angela updated JCR-1834:
------------------------

    Issue Type: Sub-task  (was: New Feature)
        Parent: JCR-1104

> Create RepositoryFactory implementation
> ---------------------------------------
>
>                 Key: JCR-1834
>                 URL: https://issues.apache.org/jira/browse/JCR-1834
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: JCR 2.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.patch, jackrabbit-jcr-rmi.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-api.patch

Preliminary RepositoryFactory in jackrabbit-api.

> 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
>
>
> 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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-core.patch

Implementations in jackrabbit-core.

> 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
>
>
> 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.


[jira] Commented: (JCR-1834) Create RepositoryFactory implementation

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658086#action_12658086 ] 

Jukka Zitting commented on JCR-1834:
------------------------------------

Fixed in revision 728022 by using a random port (range 10k-60k) for the RMI registry used by the test.

> 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
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.patch, jackrabbit-jcr-rmi.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Marcel Reutegger updated JCR-1834:
----------------------------------

    Attachment: jackrabbit-core.patch

Updated jackrabbit-core.patch.

> 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-api.patch, jackrabbit-core.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.


[jira] Updated: (JCR-1834) Create RepositoryFactory implementation

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

Jukka Zitting updated JCR-1834:
-------------------------------

    Remaining Estimate: 0h
     Original Estimate: 0h

The test case in jcr-rmi fails if you run it multiple times while already having an external RMI registry running. I'll fix that.

> 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
>             Fix For: 1.6.0
>
>         Attachments: jackrabbit-api.patch, jackrabbit-api.patch, jackrabbit-core.patch, jackrabbit-core.patch, jackrabbit-jcr-rmi.patch, jackrabbit-jcr-rmi.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.