<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-3.0.xsd">
        
	<context:annotation-config/>
	<context:property-placeholder location="classpath:pp.properties"/>
	
    <!-- bean definitions here -->
	<bean name = "employee" class = "my.kayden.autoWiring.company.Employee" autowire = "byType" init-method="afterPropertiesSet">
		<property name = "name" value = "Alice"/>
		<property name = "age" value = "20"/>
	</bean>
	<bean name = "department" class = "my.kayden.autoWiring.company.Department" destroy-method="destroy">
		<property name = "name" value = "${name}"/>
		<property name = "size" value = "300"/>
	</bean>
</beans>