All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.module.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:osgi="http://www.eclipse.org/gemini/blueprint/schema/blueprint"
	xsi:schemaLocation="
		http://www.osgi.org/xmlns/blueprint/v1.0.0
		http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
		http://www.springframework.org/schema/beans
		http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
		http://www.springframework.org/schema/context
		http://www.springframework.org/schema/context/spring-context-4.2.xsd">

	<!-- Service references -->

	<reference id="settingsService" interface="net.solarnetwork.node.settings.SettingsService"/>
	
	<reference id="executor" interface="java.util.concurrent.Executor" filter="(function=node)"/>

	<!-- Published services -->
	
	<service ref="settingsImporter" interface="net.solarnetwork.node.backup.BackupResourceProvider"/>
	
	<!-- Supporting Services -->

	<bean id="settingsImporter" class="net.solarnetwork.node.setup.auto.SettingsImporter"
			init-method="loadSettings">
		<property name="settingsService" ref="settingsService"/>
		<property name="executor" ref="executor"/>
		<property name="messageSource">
			<bean class="org.springframework.context.support.ResourceBundleMessageSource">
				<property name="basename" value="net.solarnetwork.node.setup.auto.SettingsImporter"/>
			</bean>
		</property>
	</bean>

</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy