[ http://issues.apache.org/jira/browse/JCR-248?page=comments#action_12331696 ]
Costin Leau commented on JCR-248: --------------------------------- You are right about the extra dependecy however considering that an InputSource is created internally by JackRabbit if a String is used I think using an InputStream is the best alternative. The configuration implementation doesn't have to treat the case of file, url or InputSource or anything like that - maybe the client is using a PipedStream. Indeed I have a hook (create the InputSource) but I think it would be easier if the would be a generic method which accepts the inputStream and the rest of the method internally delegate to it InputStream is the lowest common dominator and there is always a situation where the client doesn't use URLs or File. My main motivation behind the issue is the update of the JCA contribution so if I can hook an input stream to it (no matter if I have to create an InputSource or not). > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira