-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBeans.xml
More file actions
24 lines (18 loc) · 919 Bytes
/
Copy pathBeans.xml
File metadata and controls
24 lines (18 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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-3.0.xsd"
default-init-method="init" default-destroy-method="destroy">
<bean name = "helloWorld" class = "com.cimpapps.hello.HelloWorld" >
<property name="message1" value = "Hello"/>
<property name="message2" value = "How are you?"/>
</bean>
<bean name = "helloRomania" class = "com.cimpapps.hello.HelloRomania"
parent="helloWorld" >
<property name="message1" value = "Salut!"/>
<property name="message3" value = "Ce mai faci?"/>
</bean>
<!--We have to register the bean for BeanPostProcessor-->
<bean class = "com.cimpapps.hello.InitHelloWorld"/>
</beans>