Created
February 13, 2009 03:45
-
-
Save caike/63034 to your computer and use it in GitHub Desktop.
spring beans.xml
This file contains 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" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<bean id="mailman" class="com.school.domain.Mailman" /> | |
<!-- <bean id="email" class="com.school.domain.Email" />--> | |
<bean id="school" class="com.school.domain.School"> | |
<property name="messenger"> | |
<ref bean="mailman"/> | |
</property> | |
</bean> | |
</beans> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment