81 lines
2.4 KiB
XML
81 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!--
|
|
Copyright 2002-2005 the original author or authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<configuration>
|
|
|
|
<configSections>
|
|
|
|
<sectionGroup name="common">
|
|
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
|
|
</sectionGroup>
|
|
|
|
<sectionGroup name='spring'>
|
|
<section name='context' type='Spring.Context.Support.ContextHandler, Spring.Core'/>
|
|
<section name='objects' type='Spring.Context.Support.DefaultSectionHandler, Spring.Core' />
|
|
</sectionGroup>
|
|
|
|
<!--
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
-->
|
|
<section name="DatabaseConfiguration" type="System.Configuration.NameValueSectionHandler"/>
|
|
|
|
</configSections>
|
|
|
|
<common>
|
|
<logging>
|
|
<factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"/>
|
|
</logging>
|
|
</common>
|
|
|
|
<spring>
|
|
|
|
<context>
|
|
<resource uri="config://spring/objects"/>
|
|
</context>
|
|
|
|
<!-- parent context's objects -->
|
|
<objects xmlns='http://www.springframework.net'>
|
|
|
|
</objects>
|
|
|
|
</spring>
|
|
|
|
|
|
<DatabaseConfiguration>
|
|
<add key="connection.string" value="dsn=MyDSN;uid=sa;pwd=myPassword;"/>
|
|
</DatabaseConfiguration>
|
|
|
|
<!--
|
|
<log4net>
|
|
<appender name="NullAppender" type="Spring.Objects.Factory.Xml.NullAppender, Spring.Core.Tests"/>
|
|
<root>
|
|
<level value="ALL" />
|
|
<appender-ref ref="NullAppender" />
|
|
</root>
|
|
</log4net>
|
|
-->
|
|
<!--
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
|
|
<bindingRedirect oldVersion="2.0.6.0" newVersion="2.4.1.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
-->
|
|
</configuration>
|