| <!-- |
| 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. |
| --> |
| <xs:schema targetNamespace="org.apache.felix.ipojo.handlers.jmx" |
| xmlns="org.apache.felix.ipojo.handlers.jmx" |
| xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| elementFormDefault="qualified"> |
| <xs:element name="config" type="JMXType"></xs:element> |
| |
| <xs:complexType name="JMXType"> |
| |
| <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| <xs:element name="method" type="JMXMethod"></xs:element> |
| <xs:element name="property" type="JMXProperty"></xs:element> |
| </xs:choice> |
| <xs:attribute name="usesMOSGi" type="xs:boolean" |
| use="optional"> |
| </xs:attribute> |
| <xs:attribute name="objectName" type="xs:string" |
| use="optional"> |
| </xs:attribute> |
| <xs:attribute name="domain" type="xs:string" use="optional"></xs:attribute> |
| <xs:attribute name="name" type="xs:string" use="optional"></xs:attribute> |
| |
| </xs:complexType> |
| |
| <xs:complexType name="JMXProperty"> |
| <xs:attribute name="field" type="xs:string" use="required"></xs:attribute> |
| <xs:attribute name="name" type="xs:string" use="optional"></xs:attribute> |
| <xs:attribute name="rights" use="optional"> |
| <xs:simpleType> |
| <xs:restriction base="xs:string"> |
| <xs:enumeration value="r"></xs:enumeration> |
| <xs:enumeration value="w"></xs:enumeration> |
| </xs:restriction> |
| </xs:simpleType> |
| </xs:attribute> |
| <xs:attribute name="notification" type="xs:boolean" use="optional"></xs:attribute> |
| </xs:complexType> |
| |
| <xs:complexType name="JMXMethod"> |
| <xs:attribute name="name" type="xs:string" use="required"></xs:attribute> |
| <xs:attribute name="description" type="xs:string" use="optional"></xs:attribute> |
| </xs:complexType> |
| </xs:schema> |