Clement Escoffier | 6c54635 | 2008-11-10 09:49:32 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <xs:schema targetNamespace="org.apache.felix.ipojo.extender" |
| 20 | xmlns="org.apache.felix.ipojo.extender" |
| 21 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 22 | elementFormDefault="qualified"> |
| 23 | <xs:element name="extender" type="ExtenderType"></xs:element> |
| 24 | <xs:complexType name="ExtenderType"> |
| 25 | <xs:annotation> |
| 26 | <xs:documentation>Description of the extender pattern configuration. |
| 27 | The extender tracks extensions. The particularity of this architecture-style is that extensions are packaged in different bundles. An extension is detected by analyzing the bundle. The mark is currently a header in the bundle manifest. At each time a matching bundle appears or disappears, a callback is invoked. </xs:documentation> |
| 28 | </xs:annotation> |
| 29 | <xs:attribute name="onArrival" type="xs:string" use="required"> |
| 30 | <xs:annotation> |
| 31 | <xs:documentation>Declaring the method to invoke when a matching bundle arrives</xs:documentation> |
| 32 | </xs:annotation></xs:attribute> |
| 33 | <xs:attribute name="onDeparture" type="xs:string" use="required"> |
| 34 | <xs:annotation> |
| 35 | <xs:documentation>Declaring the method to invoke when a matching bundle leaves</xs:documentation> |
| 36 | </xs:annotation></xs:attribute> |
| 37 | <xs:attribute name="extension" type="xs:string" use="required"> |
| 38 | <xs:annotation> |
| 39 | <xs:documentation>Declaring the looked manifest header.</xs:documentation> |
| 40 | </xs:annotation></xs:attribute> |
| 41 | </xs:complexType> |
| 42 | </xs:schema> |