|
<?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">
<!--Presenters-->
<object name="CustomerPresenter" type="WinClient.Presenters.Customer, WinClient" singleton="false" />
<object name="EmployeePresenter" type="WinClient.Presenters.Employee, WinClient" singleton="false" />
<!--Business Logic Layers-->
<object name="CustomerBLL" type="BLL.Customer.CustomerBLL, BLL" singleton="false" />
<object name="EmployeeBLL" type="BLL.Employee.EmployeeBLL, BLL" singleton="false" />
<!--Data Access Layers-->
<object name="EmployeeDAL" type="DAL.Employee.EmployeeDAL, DAL" singleton="false" />
<object name="CustomerDAL" type="DAL.Customer.CustomerDAL, DAL" singleton="false" />
<object id="CustomerDALWithAdvice" type="Spring.Aop.Framework.ProxyFactoryObject">
<property name="Target">
<object type="DAL.Customer.CustomerDAL, DAL" />
</property>
<property name="InterceptorNames">
<list>
<value>TraceAroundAdvice</value>
</list>
</property>
</object>
<!--Advices-->
<object id="TraceAroundAdvice" type="AOP.Advice.TraceAroundAdvice, AOP" >
</object>
</objects>
</spring>
<connectionStrings >
<add name="Northwind" connectionString ="server=.\sqlexpress;database=northwind;uid=sa;pwd=password;"/>
</connectionStrings>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.