diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-27 04:33:47 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-27 04:33:47 +0000 |
commit | 0c1527f0415fb7d6c06b0ad2a1d4ce73cd728852 (patch) | |
tree | 7d0658a2e64c4fdec2957090fc70dfd0efed09d7 /sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources | |
parent | c2dfd0917dbb0793b7934ccc298e03187e6e3418 (diff) |
Fix multiple concurrency related issues
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@903542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources')
2 files changed, 110 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema new file mode 100644 index 0000000000..1991eba409 --- /dev/null +++ b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema @@ -0,0 +1,18 @@ +# 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. +# +org/osgi/service/remoteserviceadmin/osgi-remoteserviceadmin.xsd
diff --git a/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/org/osgi/service/remoteserviceadmin/osgi-remoteserviceadmin.xsd b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/org/osgi/service/remoteserviceadmin/osgi-remoteserviceadmin.xsd new file mode 100644 index 0000000000..dc88df965c --- /dev/null +++ b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/resources/org/osgi/service/remoteserviceadmin/osgi-remoteserviceadmin.xsd @@ -0,0 +1,92 @@ +<!-- + * + * Copyright (c) OSGi Alliance (2008, 2010). All Rights Reserved. + * + * Licensed 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. + * +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:rsa="http://www.osgi.org/xmlns/rsa/v1.0.0" + targetNamespace="http://www.osgi.org/xmlns/rsa/v1.0.0" elementFormDefault="qualified" version="1.0.0"> + <element name="endpoint-descriptions" type="rsa:Tendpoint-descriptions" /> + <complexType name="Tendpoint-descriptions"> + <sequence> + <element name="endpoint-description" type="rsa:Tendpoint-description" minOccurs="1" maxOccurs="unbounded" /> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </sequence> + <anyAttribute /> + </complexType> + <complexType name="Tendpoint-description"> + <sequence> + <element name="property" type="rsa:Tproperty" minOccurs="1" maxOccurs="unbounded" /> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </sequence> + <anyAttribute /> + </complexType> + <complexType name="Tproperty" mixed="true"> + <sequence> + <choice minOccurs="0" maxOccurs="1"> + <element name="array" type="rsa:Tmulti-value" /> + <element name="list" type="rsa:Tmulti-value" /> + <element name="set" type="rsa:Tmulti-value" /> + <element name="xml" type="rsa:Txml" /> + </choice> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </sequence> + <attribute name="name" type="string" use="required" /> + <attribute name="value" type="string" use="optional" /> + <attribute name="value-type" type="rsa:Tvalue-types" default="String" use="optional" /> + <anyAttribute /> + </complexType> + <complexType name="Tmulti-value"> + <sequence> + <element name="value" minOccurs="0" maxOccurs="unbounded" type="rsa:Tvalue" /> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </sequence> + <anyAttribute /> + </complexType> + <complexType name="Tvalue" mixed="true"> + <sequence> + <element name="xml" minOccurs="0" maxOccurs="1" type="rsa:Txml" /> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </sequence> + <anyAttribute /> + </complexType> + <simpleType name="Tvalue-types"> + <restriction base="string"> + <enumeration value="String" /> + <enumeration value="long" /> + <enumeration value="Long" /> + <enumeration value="double" /> + <enumeration value="Double" /> + <enumeration value="float" /> + <enumeration value="Float" /> + <enumeration value="int" /> + <enumeration value="Integer" /> + <enumeration value="byte" /> + <enumeration value="Byte" /> + <enumeration value="char" /> + <enumeration value="Character" /> + <enumeration value="boolean" /> + <enumeration value="Boolean" /> + <enumeration value="short" /> + <enumeration value="Short" /> + </restriction> + </simpleType> + <complexType name="Txml"> + <sequence> + <any namespace="##other" minOccurs="1" maxOccurs="1" processContents="lax" /> + </sequence> + <anyAttribute /> + </complexType> + <attribute name="must-understand" type="boolean" default="false" /> +</schema>
\ No newline at end of file |