<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" 
	activate="activate" immediate="true" name="Network Routing Service">
	
	<implementation class="de.rcenvironment.core.communication.routing.internal.NetworkRoutingServiceImpl" />
	<service>
		<provide interface="de.rcenvironment.core.communication.routing.NetworkRoutingService"/>
		<provide interface="de.rcenvironment.core.communication.routing.MessageRoutingService"/>
		<provide interface="de.rcenvironment.core.utils.common.service.AdditionalServicesProvider"/>
		<provide interface="de.rcenvironment.core.communication.routing.InstanceRestartAndPresenceService"/>
	</service>
	
	<reference
		name="MessageChannelService" 
		interface="de.rcenvironment.core.communication.channel.MessageChannelService" 
		bind="bindMessageChannelService" 
	/>
	<reference
		name="NodeConfigurationService" 
		interface="de.rcenvironment.core.communication.configuration.NodeConfigurationService" 
		bind="bindNodeConfigurationService" 
	/>
	<reference
		name="NetworkTopologyChangeListeners" 
		interface="de.rcenvironment.core.communication.spi.NetworkTopologyChangeListener" 
		cardinality="0..n" 
		bind="addNetworkTopologyChangeListener" 
		unbind="removeNetworkTopologyChangeListener" 
		policy="dynamic"
	/>
</scr:component>
