blob: 0e2ed9fba7a4c45b301866aeef79351473dbf0e0 [file] [log] [blame]
Clement Escoffier541ce702008-11-10 09:49:32 +00001<!--
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.
27The 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>