view _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 source

<?xml version="1.0" encoding="UTF-8"?>
<Application id='app' type="Test::Web::Application::Instance">
	<name type='SCALAR' id='appName'>Sample application</name>
	<dataSource type='IMPL::Config::Activator' id='ds'>
		<factory>Test::Config::DataSource</factory>
		<parameters type='HASH'>
			<db>data</db>
			<user>nobody</user>
		</parameters>
	</dataSource>
	<securityMod type='IMPL::Config::Activator'>
		<factory>Test::Config::Security</factory>
		<parameters type='HASH'>
			<ds refid='ds'/>
		</parameters>
	</securityMod>
	<options type="HASH">
		<appName refid='appName'/>
		<dataSource refid='ds'/>
	</options>
</Application>