<?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:util="http://www.springframework.org/schema/util"
	xmlns:icm="http://www.icm.edu.pl/driver/contract"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
		http://www.icm.edu.pl/driver/contract http://www.icm.edu.pl/driver/contract/contract-definition.xsd">

	<bean id="cnrPropertyConfigurerContract" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="properties">
			<props>
				<!-- Qui i metodi delle interfacce -->
				<prop key="aspect.test.entry.pointcut">execution(public * eu.dnetlib.enabling.is.registry.rmi.ISRegistryService.registerSecureProfile(..))</prop>
				<prop key="aspect.test.result.pointcut">execution(public * eu.dnetlib.enabling.is.registry.rmi.ISRegistryService.registerSecureProfile(..))</prop>
				<prop key="aspect.test.collector.type">xml</prop>
				<prop key="aspect.test.collector.path">/tmp/event_results/</prop>
			</props>
		</property>
		<property name="ignoreUnresolvablePlaceholders" value="true" />
		<property name="placeholderPrefix" value="#[" />
		<property name="placeholderSuffix" value="]" />
	</bean>

	<icm:test-runner-config id="cnrRunnerBean">
		<icm:execution-data-list>
			<icm:invoker-data methodName="registerSecureProfile" targetRef="isRegistryService">
				<icm:args>
					<value type="java.lang.String">AAAAAAAA</value>
				</icm:args>
			</icm:invoker-data>
		</icm:execution-data-list>
	</icm:test-runner-config>

	<icm:seq id="mainCheckPoint">
		<icm:entry-cp targetRef="isRegistryService" methodName="registerSecureProfile">
			<icm:args>
				<value type="java.lang.String">AAAAAAAA</value>
			</icm:args>
		</icm:entry-cp>
		<icm:result-cp targetRef="isRegistryService" methodName="registerSecureProfile">
			<icm:result>
				<value type="java.lang.String">BBBBBBBB</value>
			</icm:result>
		</icm:result-cp>
	</icm:seq>

	<!-- import beans-->
	<import resource="classpath:aspect-beans.xml" />
	<import resource="cnr-env-bundle.xml" />

</beans>
