<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd ">

	<!-- Initialization for data source -->
	<bean id="dataSourceStore" class="org.springframework.jndi.JndiObjectFactoryBean">
		<property name="jndiName" value="java:/EzStoreDS" />
	</bean>
	<!-- <bean id="dataSourceStore"
		class="org.springframework.jdbc.datasource.DriverManagerDataSource">
		<property name="driverClassName" value="com.mysql.jdbc.Driver" />
		<property name="url"
			value="jdbc:mysql://ezstore.vn:3306/ezstore_test?autoReconnect=true" />
		<property name="username" value="mbhrdsuser" />
		<property name="password" value="mbhrdsuser" />
	</bean> -->
	<bean id="EzOptionDAO" class="ez.metrix.dao.EzOptionDAO">
		<property name="dataSource" ref="dataSourceStore" />
	</bean>
	<bean id="NotificationDeviceDAO" class="ez.metrix.dao.NotificationDeviceDAO">
		<property name="dataSource" ref="dataSourceStore" />
	</bean>
	<bean id="NotificationDataDAO" class="ez.metrix.dao.NotificationDataDAO">
		<property name="dataSource" ref="dataSourceStore" />
	</bean>
	<bean id="AccountDAO" class="ez.metrix.dao.AccountDAO">
		<property name="dataSource" ref="dataSourceStore" />
	</bean>
	<bean id="NotificationInvoiceDAO" class="ez.metrix.dao.NotificationInvoiceDAO">
 		<property name="dataSource" ref="dataSourceStore" />
	</bean>
	<bean id="ActionEventDAO" class="ez.metrix.dao.ActionEventDAO">
		<property name="dataSource" ref="dataSourceStore" />
	</bean>
</beans>