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

Jean-Louis MONTEIRO closed OPENEJB-1887.
----------------------------------------

    Resolution: Fixed
    
> <ServiceProvider> inheritance to reduce redundant config in service-jar.xml 
> files
> ---------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1887
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1887
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: configuration
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 4.5.0
>
>
> The idea is that instead of doing this as we currently do: 
> <ServiceProvider id="My DataSource" types="DataSource"> 
>   JdbcDriver org.hsqldb.jdbcDriver 
>   JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb 
>   UserName sa 
>   Password 
>   JtaManaged true 
> </ServiceProvider> 
> <ServiceProvider id="My Unmanaged DataSource" types="DataSource"> 
>   JdbcDriver org.hsqldb.jdbcDriver 
>   JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb 
>   UserName sa 
>   Password 
>   JtaManaged false 
> </ServiceProvider> 
> You can inherit from another <ServiceProvider> element and update the defaults
> <ServiceProvider id="My DataSource" types="DataSource"> 
>   JdbcDriver org.hsqldb.jdbcDriver 
>   JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb 
>   UserName sa 
>   Password 
>   JtaManaged true 
> </ServiceProvider> 
> <ServiceProvider id="My Unmanaged DataSource" parent="My DataSource"> 
>   JtaManaged false 
> </ServiceProvider> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to