<?xml version="1.0" encoding="utf-8"?>
<!--

    Aipo is a groupware program developed by Aimluck,Inc.
    Copyright (C) 2004-2010 Aimluck,Inc.
    http://aipostyle.com/

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

-->

<domains project-version="2.0">
<domain name="SharedDomain">
    <property name="cayenne.DataDomain.dataContextFactory" value="com.aimluck.eip.cayenne.access.IsolatedDataContextFactory"/>
    <property name="cayenne.DataRowStore.snapshot.size" value="50000"/>
	<map name="AccountSharedDomainMap" location="conf/postgres/AccountSharedDomainMap.map.xml"/>
	<map name="SecuritySharedDomainMap" location="conf/postgres/SecuritySharedDomainMap.map.xml"/>
	<map name="SharedDomainMap" location="conf/postgres/SharedDomainMap.map.xml"/>
</domain>
<domain name="org001">
    <property name="cayenne.DataDomain.dataContextFactory" value="com.aimluck.eip.cayenne.access.IsolatedDataContextFactory"/>
    <property name="cayenne.DataRowStore.snapshot.size" value="50000"/>
	<node name="Org001DomainNode"
		 datasource="conf/postgres/Org001DomainNode.driver.xml"
		 factory="org.apache.cayenne.conf.DriverDataSourceFactory">
	</node>
</domain>
</domains>
