Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping')
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml12
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml10
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jarbin0 -> 1150 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.parbin0 -> 3393 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.parbin0 -> 2533 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.parbin0 -> 4819 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan12
10 files changed, 51 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..61bdbb0b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: service.scoping.one
+Bundle-ManifestVersion: 2
+Bundle-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml
new file mode 100644
index 00000000..84bb0dbf
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml
@@ -0,0 +1,12 @@
+<?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">
+
+ <osgi:service interface="java.util.List">
+ <bean class="java.util.ArrayList"/>
+ </osgi:service>
+
+</beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan
new file mode 100644
index 00000000..82003238
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="service-scoping-nested" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="service.scoping.two" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..34404bf3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: service.scoping.two
+Bundle-ManifestVersion: 2
+Bundle-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml
new file mode 100644
index 00000000..66d2b1c4
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml
@@ -0,0 +1,10 @@
+<?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">
+
+ <osgi:reference id="testList" interface="java.util.List"/>
+
+</beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar
new file mode 100644
index 00000000..44663fc5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par
new file mode 100644
index 00000000..03f8c0d4
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par
new file mode 100644
index 00000000..fc8c1ade
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par
new file mode 100644
index 00000000..e243fe96
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan
new file mode 100644
index 00000000..468a7469
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="service-scoping" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="plan" name="service-scoping-nested" version="[1, 2)"/>
+ <artifact type="bundle" name="service.scoping.one" version="[1, 2)"/>
+
+</plan> \ No newline at end of file

Back to the top