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.handler.temporal" |
| 20 | xmlns="org.apache.felix.ipojo.handler.temporal" |
| 21 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 22 | elementFormDefault="qualified"> |
| 23 | <xs:element name="requires" type="TemporalServiceDependencyType"></xs:element> |
| 24 | |
| 25 | <xs:complexType name="TemporalServiceDependencyType"> |
| 26 | |
| 27 | <xs:annotation> |
| 28 | <xs:documentation>Description of a temporal dependency.</xs:documentation> |
| 29 | </xs:annotation> |
| 30 | <xs:attribute name="field" type="xs:string" use="required"> |
| 31 | <xs:annotation> |
| 32 | <xs:documentation>The implementation field supporting the dependency.</xs:documentation> |
| 33 | </xs:annotation></xs:attribute> |
| 34 | <xs:attribute name="filter" type="xs:string" use="optional"> |
| 35 | <xs:annotation> |
| 36 | <xs:documentation>Filter use to discover matching filter.</xs:documentation></xs:annotation></xs:attribute> |
| 37 | <xs:attribute name="timeout" type="xs:int" use="optional"> |
| 38 | <xs:annotation> |
| 39 | <xs:documentation>Specifies the timeout after which the onTimeout policy is executed. The value is the time in ms to wait. -1 is used to indicate an infinite wait.</xs:documentation> |
| 40 | </xs:annotation></xs:attribute> |
| 41 | <xs:attribute name="onTimeout" use="optional" type="xs:string"> |
| 42 | <xs:annotation> |
| 43 | <xs:documentation>Specifies the onTimeout policy. This determines the object to inject when the service stills unavailable when the timeout expires. Several values are supported: 'nullable' means that a Nullable object will be injected, 'empty-array' injects an empty array (only for aggregate dependency), 'null' injects Null, any other value are interpreted as the default implementation class to use. If the onTimetout attribute is not specified, a RuntimeException is thrown when the timeout is reached.</xs:documentation> |
| 44 | </xs:annotation> |
| 45 | </xs:attribute> |
Clement Escoffier | 8368d92 | 2008-12-22 17:30:12 +0000 | [diff] [blame] | 46 | <xs:attribute name="proxy" use="optional" type="xs:boolean"> |
Clement Escoffier | 85da109 | 2008-12-22 15:50:27 +0000 | [diff] [blame] | 47 | <xs:annotation> |
| 48 | <xs:documentation>Enables or Disables the proxy injection</xs:documentation> |
| 49 | </xs:annotation> |
| 50 | </xs:attribute> |
| 51 | <xs:attribute name="specification" use="optional" type="xs:string"> |
| 52 | <xs:annotation> |
| 53 | <xs:documentation>Specifies the looked service specification. This attribute is mandatory when injecting in a Collection</xs:documentation> |
| 54 | </xs:annotation> |
| 55 | </xs:attribute> |
Clement Escoffier | 6c54635 | 2008-11-10 09:49:32 +0000 | [diff] [blame] | 56 | </xs:complexType> |
| 57 | </xs:schema> |