diff options
Diffstat (limited to 'sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca')
-rw-r--r-- | sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType | 28 | ||||
-rw-r--r-- | sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite | 34 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType new file mode 100644 index 0000000000..fd8c5ed793 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<componentType xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1">
+ <!-- The service element defines an SCA view of the OSGi service -->
+ <service name="HelloworldService">
+ <interface.java interface="sample.Helloworld"/>
+ </service>
+
+</componentType>
diff --git a/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite new file mode 100644 index 0000000000..4f40da9868 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + targetNamespace="http://sample" + xmlns:sample="http://sample" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + name="Helloworld"> + + + <component name="HelloworldComponent"> + <tuscany:implementation.osgi bundleSymbolicName="jms.osgi" bundleVersion="1.0.0"/> + <service name="HelloworldService"> + <binding.jms/> + </service> + </component> + +</composite> |