Skip to content

Instantly share code, notes, and snippets.

@caike caike/gist:63034
Created Feb 13, 2009

Embed
What would you like to do?
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
You can’t perform that action at this time.