META-INF.spring.osgi-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Unless explicitly acquired and licensed from Licensor under another license, the contents of this file are subject to the Reciprocal Public License ("RPL") Version 1.5, or subsequent versions as allowed by the RPL, and You may not copy or use this file in either source code or executable form, except in compliance with the terms and conditions of the RPL All software distributed under the RPL is provided strictly on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the RPL for specific language governing rights and limitations under the RPL. http://opensource.org/licenses/RPL-1.5 Copyright 2012-2015 Open Justice Broker Consortium --> <!-- Spring beans having to do with OSGi --> <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:osgi="http://www.springframework.org/schema/osgi" xmlns:osgix="http://www.springframework.org/schema/osgi-compendium" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd"> <!-- OSGi service reference to the context service defined in the derived bundle --> <osgi:reference id="org.ojbc.bundles.intermediaries.firearm-registration-query-request-service-intermediary-context" interface="org.ojbc.util.osgi.OjbcContext" bean-name="org.ojbc.bundles.intermediaries.firearm-registration-query-request-service-intermediary-context"/> <!-- Properties list built from four components, in order of precedence: 1. Properties defined in the derived bundle 2. Properties defined in the "compendium" config file (i.e., file placed in Karaf/etc) 3. Properties defined in the camel context (spring) 4. Properties defined in classpath properties file --> <util:list id="propertiesList"> <ref bean="classpathProperties"/> <ref bean="contextProperties"/> <osgix:cm-properties id="osgiProperties" persistent-id="firearm_registration_query_request_service_intermediary"/> <ref bean="derivedBundleOsgiProperties"/> </util:list> </beans>