[ 
https://issues.apache.org/jira/browse/JCR-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela resolved JCR-1890.
-------------------------

    Resolution: Fixed

added initial draft of a RepositoryFactory implementation based on the factory 
interface present with jackrabbit-api.

see:
http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/jsr283/RepositoryFactory.java

the getRepository call takes a Map containing the parameters used to build the 
repository.

currently the following parameters are supported:

org.apache.jackrabbit.repository.itemCacheSize : int
org.apache.jackrabbit.repository.cacheBehaviour : 
o.a.j.jcr2spi.config.CacheBehaviour

org.apache.jackrabbit.repository.spi2rmi.url : 
//{rmi-host}:{rmi-port}/{repository-name}
org.apache.jackrabbit.repository.spi2dav.url : used to build spi2dav

org.apache.jackrabbit.repository.config : o.a.j.jcr2spi.config.RepositoryConfig
org.apache.jackrabbit.repository.spilog.writer : java.io.Writer

note: 
- the first 4 params are used to built a specific RepositoryConfig.

- if org.apache.jackrabbit.repository.config is present the other params except 
for
  log-writer are ignored.

- if org.apache.jackrabbit.repository.spilog.writer is present the repo-config 
built
  from the other parameters is wrapped with another config, that returns an
  spi-logger repository service (which again wraps the service obtained by the
  base config.

> spi2dav: create RepositoryFactory implementation
> ------------------------------------------------
>
>                 Key: JCR-1890
>                 URL: https://issues.apache.org/jira/browse/JCR-1890
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: sandbox
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>


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