<?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
    https://www.springframework.org/schema/beans/spring-beans.xsd">

	<bean id="distList" factory-bean="hzInstance" factory-method="getList">
		<constructor-arg value="distList"/>
	</bean>

	<bean id="hzInstance" class="com.hazelcast.core.Hazelcast" factory-method="newHazelcastInstance" destroy-method="shutdown">
		<constructor-arg>
			<bean class="com.hazelcast.config.Config">
				<property name="instanceName" value="Test_Hazelcast_Instance"/>
			</bean>
		</constructor-arg>
	</bean>

</beans>
