summaryrefslogtreecommitdiffstats
path: root/collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 14:40:10 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 14:40:10 +0000
commit39ef9a4855c593f1ea3a6bb122d5c22a50b371cb (patch)
treef0e08aa22b6c9260d3cb3c7fb0e7b8dea72ae560 /collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite
parentedce121c4ed65d77bdd4a66501b04fefc0c637f6 (diff)
Copy of the Apache Wink HelloWorld example updated to show an approach to SCA integration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@903659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite')
-rw-r--r--collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite34
1 files changed, 34 insertions, 0 deletions
diff --git a/collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite b/collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.composite
new file mode 100644
index 0000000000..86e8937631
--- /dev/null
+++ b/collaboration/wink-helloworld-sca/src/main/webapp/WEB-INF/web.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"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://samples"
+ name="Helloworld">
+
+ <component name="MyWebComponent">
+ <implementation.web web-uri=""/>
+ <reference name="service" target="ServiceComponent"/>
+ </component>
+
+ <component name="ServiceComponent">
+ <implementation.java class="org.apache.wink.example.helloworld.SomeSCAServiceImpl"/>
+ </component>
+
+</composite>