| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| <!-- |
| |
| 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. |
| |
| --> |
| <xsd:schema xmlns="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0" |
| targetNamespace="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" |
| elementFormDefault="qualified" |
| attributeFormDefault="unqualified" |
| version="1.0.0"> |
| |
| <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/> |
| |
| <!-- property placeholder --> |
| |
| <xsd:element name="property-placeholder" type="TpropertyPlaceholder"/> |
| |
| <xsd:complexType name="TpropertyPlaceholder"> |
| <xsd:complexContent> |
| <xsd:extension base="bp:Tcomponent"> |
| <xsd:sequence> |
| <!-- nested properties declaration --> |
| <xsd:element name="default-properties" type="TdefaultProperties" minOccurs="0" maxOccurs="1"/> |
| <xsd:element name="location" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/> |
| </xsd:sequence> |
| <xsd:attribute name="placeholder-prefix" type="xsd:string" use="optional" default="${"/> |
| <xsd:attribute name="placeholder-suffix" type="xsd:string" use="optional" default="}"/> |
| <xsd:attribute name="defaults-ref" type="bp:Tidref" use="optional"/> |
| <xsd:attribute name="ignore-missing-locations" type="xsd:boolean" use="optional" default="false"/> |
| <xsd:attribute name="system-properties" use="optional" default="fallback"> |
| <xsd:simpleType> |
| <xsd:restriction base="xsd:NMTOKEN"> |
| <xsd:enumeration value="never"/> |
| <xsd:enumeration value="fallback"/> |
| <xsd:enumeration value="override"/> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:attribute> |
| </xsd:extension> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:complexType name="TdefaultProperties"> |
| <xsd:sequence minOccurs="0" maxOccurs="unbounded"> |
| <xsd:element name="property" type="bp:Tproperty"/> |
| </xsd:sequence> |
| </xsd:complexType> |
| |
| <!-- proxy method --> |
| |
| <xsd:attribute name="proxy-method" default="default"> |
| <xsd:simpleType> |
| <xsd:restriction> |
| <xsd:simpleType> |
| <xsd:list> |
| <xsd:simpleType> |
| <xsd:restriction base="xsd:NMTOKEN"> |
| <xsd:enumeration value="default"/> |
| <xsd:enumeration value="classes"/> |
| <xsd:enumeration value="greedy"/> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:list> |
| </xsd:simpleType> |
| <xsd:minLength value="1"/> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:attribute> |
| |
| <!-- role --> |
| |
| <xsd:attribute name="role"> |
| <xsd:simpleType> |
| <xsd:restriction> |
| <xsd:simpleType> |
| <xsd:list> |
| <xsd:simpleType> |
| <xsd:restriction base="xsd:NMTOKEN"> |
| <xsd:enumeration value="processor"/> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:list> |
| </xsd:simpleType> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:attribute> |
| |
| <!-- CM property placeholder extenstion --> |
| |
| <xsd:element name="location" type="xsd:string"/> |
| <xsd:attribute name="ignore-missing-locations" type="xsd:boolean" default="false"/> |
| <xsd:attribute name="system-properties" default="fallback"> |
| <xsd:simpleType> |
| <xsd:restriction base="xsd:NMTOKEN"> |
| <xsd:enumeration value="never"/> |
| <xsd:enumeration value="fallback"/> |
| <xsd:enumeration value="override"/> |
| </xsd:restriction> |
| </xsd:simpleType> |
| </xsd:attribute> |
| |
| <xsd:attribute name="field-injection" type="xsd:boolean" default="false" /> |
| |
| </xsd:schema> |