-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspring.xml
More file actions
71 lines (43 loc) · 1.76 KB
/
spring.xml
File metadata and controls
71 lines (43 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>
<bean id="triangle" class="org.ribhu.javabrains.Triangle" name="triangle-name" autowire="byName">
<!-- <property name="pointA" ref="zeroPoint"></property>
<property name="pointB" ref="point2"></property>
<property name="pointC" ref="point3"></property>
-->
<!-- <property name="pointA" ref= "zeroPoint">
</property>
<property name="pointB">
<bean class="org.ribhu.javabrains.Point">
<property name="x" value="-20"></property>
<property name="y" value="0"></property>
</bean>
</property>
<property name="pointC">
<bean class="org.ribhu.javabrains.Point">
<property name="x" value="20"></property>
<property name="y" value="0"></property>
</bean>
</property>
-->
<!-- <property name="type" value="Equilateral"> </property> -->
<!-- <constructor-arg type = "int" value="20"> </constructor-arg> <constructor-arg
type = "java.lang.String" value="Equilateral"> </constructor-arg> -->
<!-- <constructor-arg index = "1" value="20"> </constructor-arg> <constructor-arg
index = "0" value="Equilateral"> </constructor-arg> -->
</bean>
<bean id="pointA" class="org.ribhu.javabrains.Point">
<property name="x" value="0"></property>
<property name="y" value="0"></property>
</bean>
<bean id="pointB" class="org.ribhu.javabrains.Point">
<property name="x" value="-20"></property>
<property name="y" value="0"></property>
</bean>
<bean id="pointC" class="org.ribhu.javabrains.Point">
<property name="x" value="20"></property>
<property name="y" value="0"></property>
</bean>
<alias name="triangle" alias="triangle-alias"/>
</beans>