1 <?xml version='1.0' encoding='UTF-8'?>
   2 <!--   
   3    Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
   4    
   5    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6    
   7    The contents of this file are subject to the terms of either the Universal Permissive License 
   8    v 1.0 as shown at http://oss.oracle.com/licenses/upl
   9    
  10    or the following license:
  11    
  12    Redistribution and use in source and binary forms, with or without modification, are permitted
  13    provided that the following conditions are met:
  14    
  15    1. Redistributions of source code must retain the above copyright notice, this list of conditions
  16    and the following disclaimer.
  17    
  18    2. Redistributions in binary form must reproduce the above copyright notice, this list of
  19    conditions and the following disclaimer in the documentation and/or other materials provided with
  20    the distribution.
  21    
  22    3. Neither the name of the copyright holder nor the names of its contributors may be used to
  23    endorse or promote products derived from this software without specific prior written permission.
  24    
  25    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
  26    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  27    FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  28    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  29    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  30    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  31    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
  32    WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33 -->
  34 <schema targetNamespace="org.openjdk.jmc.rjmx" xmlns="http://www.w3.org/2001/XMLSchema">
  35 <annotation>
  36       <appinfo>
  37          <meta.schema plugin="org.openjdk.jmc.rjmx" id="jmxProtocols" name="JMX Protocols"/>
  38       </appinfo>
  39       <documentation>
  40          This extension point is used to add JMX protocols to JDK Mission Control.
  41       </documentation>
  42    </annotation>
  43 
  44    <element name="extension">
  45       <annotation>
  46          <appinfo>
  47             <meta.element />
  48          </appinfo>
  49       </annotation>
  50       <complexType>
  51          <sequence minOccurs="1" maxOccurs="unbounded">
  52             <element ref="client"/>
  53          </sequence>
  54          <attribute name="point" type="string" use="required">
  55             <annotation>
  56                <documentation>
  57                   
  58                </documentation>
  59             </annotation>
  60          </attribute>
  61          <attribute name="id" type="string">
  62             <annotation>
  63                <documentation>
  64                   
  65                </documentation>
  66             </annotation>
  67          </attribute>
  68          <attribute name="name" type="string">
  69             <annotation>
  70                <documentation>
  71                   
  72                </documentation>
  73                <appinfo>
  74                   <meta.attribute translatable="true"/>
  75                </appinfo>
  76             </annotation>
  77          </attribute>
  78       </complexType>
  79    </element>
  80 
  81    <element name="client">
  82       <complexType>
  83          <choice minOccurs="0" maxOccurs="unbounded">
  84             <element ref="property"/>
  85             <element ref="sysproperty"/>
  86          </choice>
  87          <attribute name="protocol" type="string" use="required">
  88             <annotation>
  89                <documentation>
  90                   
  91                </documentation>
  92             </annotation>
  93          </attribute>
  94          <attribute name="class" type="string">
  95             <annotation>
  96                <documentation>
  97                   
  98                </documentation>
  99                <appinfo>
 100                   <meta.attribute kind="java" basedOn=":javax.management.remote.JMXConnectorProvider"/>
 101                </appinfo>
 102             </annotation>
 103          </attribute>
 104       </complexType>
 105    </element>
 106 
 107    <element name="property">
 108       <complexType>
 109          <attribute name="name" type="string" use="required">
 110             <annotation>
 111                <documentation>
 112                   
 113                </documentation>
 114             </annotation>
 115          </attribute>
 116          <attribute name="value" type="string" use="required">
 117             <annotation>
 118                <documentation>
 119                   
 120                </documentation>
 121             </annotation>
 122          </attribute>
 123       </complexType>
 124    </element>
 125 
 126    <element name="sysproperty">
 127       <complexType>
 128          <attribute name="name" type="string" use="required">
 129             <annotation>
 130                <documentation>
 131                   
 132                </documentation>
 133             </annotation>
 134          </attribute>
 135          <attribute name="include" type="string" use="required">
 136             <annotation>
 137                <documentation>
 138                   
 139                </documentation>
 140             </annotation>
 141          </attribute>
 142          <attribute name="separator" type="string" use="default" value="|">
 143             <annotation>
 144                <documentation>
 145                   
 146                </documentation>
 147             </annotation>
 148          </attribute>
 149       </complexType>
 150    </element>
 151 
 152    <annotation>
 153       <appinfo>
 154          <meta.section type="since"/>
 155       </appinfo>
 156       <documentation>
 157          4.1.0
 158       </documentation>
 159    </annotation>
 160 
 161 
 162 
 163 
 164    <annotation>
 165       <appinfo>
 166          <meta.section type="copyright"/>
 167       </appinfo>
 168       <documentation>
 169          Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
 170       </documentation>
 171    </annotation>
 172 
 173 </schema>