Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml')
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml
new file mode 100644
index 00000000..6a421432
--- /dev/null
+++ b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:beans="http://www.springframework.org/schema/beans"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <service ref="scratch-registrar"
+ interface="org.springframework.core.io.Resource">
+ <service-properties>
+ <beans:entry key="path" value="foo" />
+ </service-properties>
+ </service>
+
+ <service ref="other-resource"
+ interface="org.springframework.core.io.Resource"/>
+
+ <service ref="properties" interface="java.util.Properties" />
+
+</beans:beans>

Back to the top