Created
November 3, 2011 14:38
-
-
Save aziz781/1336651 to your computer and use it in GitHub Desktop.
Spring application with annotation based bean configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | |
http://www.springframework.org/schema/context | |
http://www.springframework.org/schema/context/spring-context-2.5.xsd"> | |
<!-- Activates annotation-based bean configuration --> | |
<context:annotation-config /> | |
<!-- Scans for application @Components to deploy --> | |
<context:component-scan base-package="uk.co.example.obs.buss" /> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment