summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite')
-rw-r--r--sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite60
1 files changed, 60 insertions, 0 deletions
diff --git a/sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite b/sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite
new file mode 100644
index 0000000000..b78d59d855
--- /dev/null
+++ b/sandbox/slaws/modules/domain-rework/src/main/resources/domain/domain.composite
@@ -0,0 +1,60 @@
+<?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://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/xmlns/tuscany/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ name="Domain">
+
+ <component name="DomainUI">
+ <t:implementation.widget location="webroot/domain.html"/>
+ <service name="Widget">
+ <t:binding.http/>
+ </service>
+ <reference name="domainService" target="DomainService/DomainService">
+ <t:binding.jsonrpc/>
+ </reference>
+ </component>
+
+ <!--component name="Domain">
+ <t:implementation.resource location="webroot"/>
+ <service name="Resource">
+ <t:binding.http/>
+ </service>
+ </component-->
+
+ <component name="DomainService">
+ <implementation.java class="org.apache.tuscany.sca.domain.rework.DomainServiceImpl"/>
+ <service name="DomainServiceInit">
+ <interface.java interface="org.apache.tuscany.sca.domain.rework.DomainServiceInit"/>
+ <binding.sca/>
+ </service>
+ <service name="DomainService">
+ <interface.java interface="org.apache.tuscany.sca.domain.rework.DomainService"/>
+ <binding.sca/>
+ <t:binding.jsonrpc/>
+ </service>
+
+ <!--reference name="nodes" target="NodeA NodeB"/-->
+
+ <property name="repositoryLocation" type="xsd:string">target/classes/repository</property>
+ </component>
+
+</composite> \ No newline at end of file