Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/service-scoping-engine-1265/master')
-rw-r--r--test-apps/service-scoping-engine-1265/master/build.xml9
-rw-r--r--test-apps/service-scoping-engine-1265/master/ivy.xml22
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/bundle-context.xml26
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml22
5 files changed, 84 insertions, 0 deletions
diff --git a/test-apps/service-scoping-engine-1265/master/build.xml b/test-apps/service-scoping-engine-1265/master/build.xml
new file mode 100644
index 00000000..b3d919e7
--- /dev/null
+++ b/test-apps/service-scoping-engine-1265/master/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="scoping.service.master">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../build.versions"/>
+
+ <import file="${basedir}/../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/service-scoping-engine-1265/master/ivy.xml b/test-apps/service-scoping-engine-1265/master/ivy.xml
new file mode 100644
index 00000000..c1c1f7b3
--- /dev/null
+++ b/test-apps/service-scoping-engine-1265/master/ivy.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
+<ivy-module
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd"
+ version="1.3">
+
+ <info organisation="scoping.service" module="${ant.project.name}">
+ <ivyauthor name="rharrop"/>
+ </info>
+
+ <configurations>
+ <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/>
+ </configurations>
+
+ <publications>
+ </publications>
+
+ <dependencies>
+ </dependencies>
+
+</ivy-module>
diff --git a/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/MANIFEST.MF b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..1275a83c
--- /dev/null
+++ b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: master.bundle
+Bundle-Version: 1.0.0.SNAPSHOT
+Import-Library: org.springframework.spring
diff --git a/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/bundle-context.xml b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/bundle-context.xml
new file mode 100644
index 00000000..80430c76
--- /dev/null
+++ b/test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/bundle-context.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+ <bean name="scratch-registrar"
+ class="org.springframework.core.io.ClassPathResource">
+ <constructor-arg value="META-INF/spring/bundle-context.xml"/>
+ </bean>
+
+ <bean name="other-resource"
+ class="org.springframework.core.io.ClassPathResource">
+ <constructor-arg value="META-INF/spring/bundle-context.xml"/>
+ </bean>
+
+ <bean id="properties"
+ class="org.springframework.beans.factory.config.PropertiesFactoryBean">
+ <property name="properties">
+ <props>
+ <prop key="foo">bar</prop>
+ </props>
+ </property>
+ </bean>
+</beans>
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