Mercurial > pub > Impl
diff _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 |
line wrap: on
line diff
--- a/_test/Resources/app.xml Tue Mar 09 02:50:45 2010 +0300 +++ b/_test/Resources/app.xml Tue Mar 09 19:47:39 2010 +0300 @@ -1,23 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> -<Application id='app' type="Test::Config::Application"> - <name>Sample application</name> - <options type="HASH"> - <One>value one</One> - <Two>value two</Two> - </options> +<Application id='app' type="Test::Web::Application::Instance"> + <name type='SCALAR' id='appName'>Sample application</name> <dataSource type='IMPL::Config::Activator' id='ds'> - <type>Test::Config::DataSource</type> + <factory>Test::Config::DataSource</factory> <parameters type='HASH'> <db>data</db> <user>nobody</user> </parameters> </dataSource> <securityMod type='IMPL::Config::Activator'> - <type>Test::Config::Security</type> + <factory>Test::Config::Security</factory> <parameters type='HASH'> - <ds type='IMPL::Config::Link'> - <target ref='ds'/> - </ds> - </paremeters> + <ds refid='ds'/> + </parameters> </securityMod> + <options type="HASH"> + <appName refid='appName'/> + <dataSource refid='ds'/> + </options> </Application> \ No newline at end of file