moved the ClinicRepository into some separate repos

There is still some polish up to be done.
This commit is contained in:
Mic 2013-01-17 15:27:27 +08:00
parent 16b1476c40
commit c9c8c4e085
47 changed files with 1666 additions and 728 deletions

View file

@ -13,7 +13,7 @@
<!--
- The controllers are autodetected POJOs labeled with the @Controller annotation.
-->
<context:component-scan base-package="org.springframework.samples.petclinic.web"/>
<context:component-scan base-package="org.springframework.samples.petclinic.web, org.springframework.samples.petclinic.service"/>
<mvc:annotation-driven />
@ -25,6 +25,8 @@
<!-- uses WebJars so Javascript and CSS libs can be declared as Maven dependencies (we're using it for Bootstrap) -->
<mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/>
<mvc:view-controller path="/" view-name="welcome"/>
<!--
- This view resolver delegates to the InternalResourceViewResolver and BeanNameViewResolver,