<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:context="http://www.springframework.org/schema/context"
	   xmlns:p="http://www.springframework.org/schema/p"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
">

	<context:annotation-config/>

	<bean id="area" class="java.awt.geom.Area"/>
	<bean id="beans" class="java.beans.Beans"/>
	<bean id="point" class="java.awt.Point"/>

	<bean id="generator" class="org.springframework.data.gemfire.serialization.AsmInstantiatorGenerator"/>

	<bean id="instantiator" class="org.springframework.data.gemfire.serialization.WiringInstantiator">
		<constructor-arg>
			<bean factory-bean="generator" factory-method="getInstantiator">
				<constructor-arg value="org.springframework.data.gemfire.serialization.WiringInstantiatorTest$AnnotatedBean"/>
				<constructor-arg value="95"/>
			</bean>
		</constructor-arg>
	</bean>

	<bean class="org.springframework.data.gemfire.serialization.WiringInstantiatorTest$TemplateWiringBean" abstract="true" p:beans-ref="beans"/>

	<bean id="instantiator-factory" class="org.springframework.data.gemfire.serialization.InstantiatorFactoryBean">
		<property name="customTypes">
			<map>
				<entry key="org.springframework.data.gemfire.serialization.WiringInstantiatorTest$TypeA" value="1025"/>
				<entry key="org.springframework.data.gemfire.serialization.WiringInstantiatorTest$TypeB" value="1026"/>
			</map>
		</property>
	</bean>

</beans>
