diff options
Diffstat (limited to 'sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/test/resources/marshall')
-rw-r--r-- | sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/test/resources/marshall/javaChangeSet.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/test/resources/marshall/javaChangeSet.xml b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/test/resources/marshall/javaChangeSet.xml new file mode 100644 index 0000000000..18db713c5d --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/test/resources/marshall/javaChangeSet.xml @@ -0,0 +1,58 @@ +<?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. +--> +<core:changeSet xmlns:core="http://tuscany.apache.org/xmlns/marshaller/1.0-SNAPSHOT"> + + <!-- Component 1 --> + <java:component xmlns:java="http://tuscany.apache.org/xmlns/marshaller/java/1.0-SNAPSHOT" componentId="cmp1"> + <java:reference name="rf1"> + <core:operation name="op2"/> + </java:reference> + <java:service name="sv1"> + <core:operation name="op1"/> + </java:service> + <java:instanceFactory>1234ASF</java:instanceFactory> + <java:scope>STATELESS</java:scope> + <java:classLoaderId>#123</java:classLoaderId> + </java:component> + + <!-- Component 2 --> + <java:component xmlns:java="http://tuscany.apache.org/xmlns/marshaller/java/1.0-SNAPSHOT" componentId="cmp2"> + <java:reference name="rf2"> + <core:operation name="op1"/> + </java:reference> + <java:service name="sv2"> + <core:operation name="op2"/> + </java:service> + <java:instanceFactory>1234ASF</java:instanceFactory> + <java:scope>STATELESS</java:scope> + <java:classLoaderId>#123</java:classLoaderId> + </java:component> + + <!-- Wire 1 --> + <core:wire sourceUri="cmp1#rf1" targetUri="cmp2#sv2"> + <core:operation name="op2"/> + </core:wire> + + <!-- Wire 2 --> + <core:wire sourceUri="cmp2#rf2" targetUri="cmp1#sv1"> + <core:operation name="op1"/> + </core:wire> + +</core:changeSet>
\ No newline at end of file |