[ 
http://issues.apache.org/jira/browse/JCR-248?page=comments#action_12356421 ] 

Dominique Pfister commented on JCR-248:
---------------------------------------

According to the J2EE Connector Architecture Specification 1.0, custom 
properties for the managed connection factory class must be of one of the 
following types:

- java.lang.Boolean
- java.lang.String
- java.lang.Integer,
- java.lang.Double
- java.lang.Byte
- java.lang.Short,
- java.lang.Long
- java.lang.Float
- java.lang.Character

Adding URI and/or InputStream would then obviously be in violation to this. It 
would, of course, make sense to add a property of type String named URI, that 
would internally be converted to a URI before creating the RepositoryConfig 
object, but what about InputStream?

> 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: Dominique Pfister
>     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

Reply via email to