-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot-context.xml
More file actions
23 lines (17 loc) · 1.06 KB
/
root-context.xml
File metadata and controls
23 lines (17 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="db-context.xml"/>
<context:annotation-config />
<context:component-scan base-package="br.com.vagner.rotas.controller,br.com.vagner.rotas.service"/>
<mvc:annotation-driven/>
<jpa:repositories base-package="br.com.vagner.rotas.repository" />
</beans>