[#ftl attributes={"generated.type":"blueprint.fragment"}]

<bean id="[=serviceId]-in-connector-registry"
	  class="ru.entaxy.platform.services.runtime.impl.EntaxyServiceConnectorRegistry" activation="eager">
	<property name="profileNameHeaders">
		<list value-type="java.lang.String">
			<value>X-SystemName</value>
		</list>
	</property>
</bean>
<reference-list interface="ru.entaxy.platform.services.runtime.EntaxyServiceConnectorInfo"
				filter="(service=uniform-service-in)" availability="optional">
	<reference-listener ref="[=serviceId]-in-connector-registry"
						bind-method="register" unbind-method="unregister"/>
</reference-list>

<bean id="[=serviceId]-out-connector-registry"
	  class="ru.entaxy.platform.services.runtime.impl.EntaxyServiceConnectorRegistry" activation="eager">
	<property name="profileNameHeaders">
		<list value-type="java.lang.String">
			<value>X-SystemName</value>
		</list>
	</property>
</bean>
<reference-list id="connectorOutList"
				interface="ru.entaxy.platform.services.runtime.EntaxyServiceConnectorInfo"
				filter="(service=uniform-service-out)" availability="optional">
	<reference-listener ref="[=serviceId]-out-connector-registry"
						bind-method="register" unbind-method="unregister"/>
</reference-list>
