comparison _test/Resources/app.xml @ 60:b0c068da93ac

Lazy activation for the configuration objects (final concept) small fixes
author wizard
date Tue, 09 Mar 2010 19:47:39 +0300
parents a35b60b16a99
children 76b878ad6596
comparison
equal deleted inserted replaced
59:0f3e369553bd 60:b0c068da93ac
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <Application id='app' type="Test::Config::Application"> 2 <Application id='app' type="Test::Web::Application::Instance">
3 <name>Sample application</name> 3 <name type='SCALAR' id='appName'>Sample application</name>
4 <options type="HASH">
5 <One>value one</One>
6 <Two>value two</Two>
7 </options>
8 <dataSource type='IMPL::Config::Activator' id='ds'> 4 <dataSource type='IMPL::Config::Activator' id='ds'>
9 <type>Test::Config::DataSource</type> 5 <factory>Test::Config::DataSource</factory>
10 <parameters type='HASH'> 6 <parameters type='HASH'>
11 <db>data</db> 7 <db>data</db>
12 <user>nobody</user> 8 <user>nobody</user>
13 </parameters> 9 </parameters>
14 </dataSource> 10 </dataSource>
15 <securityMod type='IMPL::Config::Activator'> 11 <securityMod type='IMPL::Config::Activator'>
16 <type>Test::Config::Security</type> 12 <factory>Test::Config::Security</factory>
17 <parameters type='HASH'> 13 <parameters type='HASH'>
18 <ds type='IMPL::Config::Link'> 14 <ds refid='ds'/>
19 <target ref='ds'/> 15 </parameters>
20 </ds>
21 </paremeters>
22 </securityMod> 16 </securityMod>
17 <options type="HASH">
18 <appName refid='appName'/>
19 <dataSource refid='ds'/>
20 </options>
23 </Application> 21 </Application>