jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-248) create configuration on InputStream
Date Mon, 10 Oct 2005 08:19:59 GMT
    [ http://issues.apache.org/jira/browse/JCR-248?page=comments#action_12331693 ] 

Jukka Zitting commented on JCR-248:

org.xml.sax.InputSource is a part of Java 1.4 so no extra dependencies are required. An InputSource
is created internally when RepositoryConfig is given a configuration file path, and it would
certainly be possible to add a utility method that does the same for an InputStream. I'm just
hesitant on extending this semi-public API without a good use case for it.

Extending the RepositoryConfig.create(String,String) method to allow URLs in addition to file
paths is a "cleaner" extension, so I'd like to do that instead if it is good enough for you.
This extension would also require no changes in JCA.

> create configuration on InputStream
> -----------------------------------
>          Key: JCR-248
>          URL: http://issues.apache.org/jira/browse/JCR-248
>      Project: Jackrabbit
>         Type: Improvement
>   Components: config
>     Reporter: Costin Leau
>     Assignee: Jukka Zitting
>     Priority: Minor
>      Fix For: 1.0

> RepositoryConfig should be possible to create based on InputStreams (in case of URLs)
; right now it's possible only using String and InputSource. Please update also the JCA connector.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message