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 | --> |
Clement Escoffier | d2ce898 | 2008-11-25 14:47:49 +0000 | [diff] [blame] | 19 | <xs:schema targetNamespace="org.apache.felix.ipojo.whiteboard" |
| 20 | xmlns="org.apache.felix.ipojo.whiteboard" |
Clement Escoffier | 6c54635 | 2008-11-10 09:49:32 +0000 | [diff] [blame] | 21 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 22 | elementFormDefault="qualified"> |
| 23 | <xs:element name="wbp" type="WBPType"></xs:element> |
| 24 | <xs:complexType name="WBPType"> |
| 25 | <xs:annotation> |
| 26 | <xs:documentation>Description of the white-board architecture.</xs:documentation> |
| 27 | </xs:annotation> |
| 28 | <xs:attribute name="onArrival" type="xs:string" use="required"> |
| 29 | <xs:annotation> |
| 30 | <xs:documentation>Declaring the method to invoke when a matching service arrives.</xs:documentation> |
| 31 | </xs:annotation></xs:attribute> |
| 32 | <xs:attribute name="onDeparture" type="xs:string" use="required"> |
| 33 | <xs:annotation> |
| 34 | <xs:documentation>Declaring the method to invoke when a matching service leaves.</xs:documentation> |
| 35 | </xs:annotation></xs:attribute> |
| 36 | <xs:attribute name="onModification" type="xs:string" use="optional"> |
| 37 | <xs:annotation> |
| 38 | <xs:documentation>Method called when an injected service reference is modified but stills valid against the filter.</xs:documentation> |
| 39 | </xs:annotation></xs:attribute> |
| 40 | <xs:attribute name="filter" type="xs:string" use="required"> |
| 41 | <xs:annotation> |
| 42 | <xs:documentation>Filter use to discover matching filter.</xs:documentation> |
| 43 | </xs:annotation></xs:attribute> |
| 44 | </xs:complexType> |
| 45 | </xs:schema> |