diff options
author | fmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-02 11:52:23 +0000 |
---|---|---|
committer | fmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-02 11:52:23 +0000 |
commit | e1b173bba3628eb8462953e0854b0c3c48ce0b6d (patch) | |
tree | b99b0a10c728093f13c76a3b9b41df72936c9b4b /sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite | |
parent | b17019a41e1e7e84bcdb5378313c6a2245f92c67 (diff) |
Added sca-scopes sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1003776 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite')
-rw-r--r-- | sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite b/sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite new file mode 100644 index 0000000000..14937a1f34 --- /dev/null +++ b/sca-java-2.x/trunk/samples/getting-started/sca-scopes/src/main/resources/scopes.composite @@ -0,0 +1,38 @@ +<?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://Scopes" + name="Scopes"> + + <component name="Stateless"> + <implementation.java class="sample.StatelessServiceImpl"/> + </component> + + <component name="Composite"> + <implementation.java class="sample.CompositeServiceImpl"/> + </component> + + <component name="Client"> + <implementation.java class="sample.ClientImpl"/> + <reference name="statelessService" target="Stateless"/> + <reference name="compositeService" target="Composite"/> + </component> + +</composite> |