Skip to content

Instantly share code, notes, and snippets.

@caike
Created February 13, 2009 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caike/63034 to your computer and use it in GitHub Desktop.
Save caike/63034 to your computer and use it in GitHub Desktop.
spring beans.xml
<?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