<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:jee="http://www.springframework.org/schema/jee"
	xmlns:neo4j="http://www.springframework.org/schema/data/neo4j"
	xmlns:p="http://www.springframework.org/schema/p"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:util="http://www.springframework.org/schema/util"
	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.1.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
		http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd
		http://www.springframework.org/schema/data/neo4j http://www.springframework.org/schema/data/neo4j/spring-neo4j-2.0.xsd
		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd
		">
	
	<util:properties id="config" location="classpath:/spring/environment.properties" />
	
	<context:property-placeholder location="classpath:/spring/environment.properties" />
	<context:annotation-config />
<!-- 	<context:spring-configured /> -->
	<context:component-scan base-package="com.springinpractice.ch11.service.impl" />

	<jee:jndi-lookup id="dataSource" jndi-name="jdbc/ZkybaseDS" />
		
	<tx:annotation-driven />

	<neo4j:config storeDirectory="${graphDb.dir}" />
	<neo4j:repositories base-package="com.springinpractice.ch11.repository" />
</beans>
