forked from JavaOPs/topjava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspring-app.xml
More file actions
24 lines (17 loc) · 1.06 KB
/
spring-app.xml
File metadata and controls
24 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
24
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<!--
<bean class="ru.javawebinar.topjava.repository.mock.MockUserRepositoryImpl" id="mockUserRepository"/>
<bean class="ru.javawebinar.topjava.service.UserServiceImpl">
<constructor-arg name="repository" ref="mockUserRepository"/>
</bean>
-->
<!-- Not necessary, already included with component-scan -->
<!--<context:annotation-config/>-->
<context:component-scan base-package="ru.javawebinar.**.repository.jdbc"/>
<context:component-scan base-package="ru.javawebinar.**.service"/>
<context:component-scan base-package="ru.javawebinar.**.web"/>
</beans>