1<?xml version = "1.0" encoding = "UTF-8"?>
2
3<beans xmlns = "http://www.springframework.org/schema/beans"
4 xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation = "http://www.springframework.org/schema/beans
6 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
7
8 <!-- A simple bean definition -->
9 <bean id = "..." class = "...">
10 <!-- collaborators and configuration for this bean go here -->
11 </bean>
12
13 <!-- A bean definition with lazy init set on -->
14 <bean id = "..." class = "..." lazy-init = "true">
15 <!-- collaborators and configuration for this bean go here -->
16 </bean>
17
18 <!-- A bean definition with initialization method -->
19 <bean id = "..." class = "..." init-method = "...">
20 <!-- collaborators and configuration for this bean go here -->
21 </bean>
22
23 <!-- A bean definition with destruction method -->
24 <bean id = "..." class = "..." destroy-method = "...">
25 <!-- collaborators and configuration for this bean go here -->
26 </bean>
27
28 <!-- more bean definitions go here -->
29
30</beans>