1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core" />
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
</sectionGroup>
</configSections>
<spring>
<context>
<resource uri = "config://spring/objects"/>
</context>
<objects xmlns="http://www.springframework.net">
<object name="dao" type="dao.dao.DataBaseImpot, ImpotsV7-dao">
<constructor-arg index = "0" value="MySql.Data.MySqlClient"/>
<constructor-arg index = "1" value="Server=localhost;Database=bdimpots;Uid=admimpots;Pwd=mdpimpots;"/>
<constructor-arg index= "2" value="select limite, coeffr, coeffn from tranches"/>
</object>
<object name="metier" type="metier.metier.ImpotMetier, ImpotsV7-metier">
<constructor-arg index = "0" ref = "dao"/>
</object>
</objects>
</spring>
</configuration> |
Partager