📄 connector_1_5.xsd
字号:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://java.sun.com/xml/ns/j2ee" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.5"> <xsd:annotation> <xsd:documentation> @(#)connector_1_5.xsds 1.27 06/17/03 </xsd:documentation> </xsd:annotation> <xsd:annotation> <xsd:documentation> Copyright 2003 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and other countries. This document and the technology which it describes are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, JavaServer Pages, Enterprise JavaBeans and the Java Coffee Cup logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. </xsd:documentation> </xsd:annotation> <xsd:annotation> <xsd:documentation> <![CDATA[ This is the XML Schema for the Connector 1.5 deployment descriptor. The deployment descriptor must be named "META-INF/ra.xml" in the connector's rar file. All Connector deployment descriptors must indicate the connector resource adapter schema by using the J2EE namespace: http://java.sun.com/xml/ns/j2ee and by indicating the version of the schema by using the version element as shown below: <connector xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5"> ... </connector> The instance documents may indicate the published version of the schema using the xsi:schemaLocation attribute for J2EE namespace with the following location: http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ]]> </xsd:documentation> </xsd:annotation> <xsd:annotation> <xsd:documentation> The following conventions apply to all J2EE deployment descriptor elements unless indicated otherwise. - In elements that specify a pathname to a file within the same JAR file, relative filenames (i.e., those not starting with "/") are considered relative to the root of the JAR file's namespace. Absolute filenames (i.e., those starting with "/") also specify names in the root of the JAR file's namespace. In general, relative names are preferred. The exception is .war files where absolute names are preferred for consistency with the Servlet API. </xsd:documentation> </xsd:annotation> <xsd:include schemaLocation="j2ee_1_4.xsd"/><!-- **************************************************** --> <xsd:element name="connector" type="j2ee:connectorType"> <xsd:annotation> <xsd:documentation> The connector element is the root element of the deployment descriptor for the resource adapter. This element includes general information - vendor name, resource adapter version, icon - about the resource adapter module. It also includes information specific to the implementation of the resource adapter library as specified through the element resourceadapter. </xsd:documentation> </xsd:annotation> </xsd:element><!-- **************************************************** --> <xsd:complexType name="activationspecType"> <xsd:annotation> <xsd:documentation> The activationspecType specifies an activation specification. The information includes fully qualified Java class name of an activation specification and a set of required configuration property names. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="activationspec-class" type="j2ee:fully-qualified-classType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The element activationspec-class specifies the fully qualified Java class name of the activation specification class. This class must implement the javax.resource.spi.ActivationSpec interface. The implementation of this class is required to be a JavaBean. Example: <activationspec-class>com.wombat.ActivationSpecImpl </activationspec-class> ]]> </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="required-config-property" type="j2ee:required-config-propertyType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="adminobjectType"> <xsd:annotation> <xsd:documentation> The adminobjectType specifies information about an administered object. Administered objects are specific to a messaging style or message provider. This contains information on the Java type of the interface implemented by an administered object, its Java class name and its configuration properties. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="adminobject-interface" type="j2ee:fully-qualified-classType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The element adminobject-interface specifies the fully qualified name of the Java type of the interface implemented by an administered object. Example: <adminobject-interface>javax.jms.Destination </adminobject-interface> ]]> </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="adminobject-class" type="j2ee:fully-qualified-classType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The element adminobject-class specifies the fully qualified Java class name of an administered object. Example: <adminobject-class>com.wombat.DestinationImpl </adminobject-class> ]]> </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="config-property" type="j2ee:config-propertyType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="authentication-mechanismType"> <xsd:annotation> <xsd:documentation> The authentication-mechanismType specifies an authentication mechanism supported by the resource adapter. Note that this support is for the resource adapter and not for the underlying EIS instance. The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism. Note that BasicPassword mechanism type should support the javax.resource.spi.security.PasswordCredential interface. The Kerbv5 mechanism type should support the org.ietf.jgss.GSSCredential interface or the deprecated javax.resource.spi.security.GenericCredential interface. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="description" type="j2ee:descriptionType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="authentication-mechanism-type" type="j2ee:xsdStringType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The element authentication-mechanism-type specifies type of an authentication mechanism. The example values are: <authentication-mechanism-type>BasicPassword </authentication-mechanism-type> <authentication-mechanism-type>Kerbv5 </authentication-mechanism-type> Any additional security mechanisms are outside the scope of the Connector architecture specification. ]]> </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="credential-interface" type="j2ee:credential-interfaceType"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="config-property-nameType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The config-property-nameType contains the name of a configuration property. The connector architecture defines a set of well-defined properties all of type java.lang.String. These are as follows. ServerName PortNumber UserName Password ConnectionURL A resource adapter provider can extend this property set to include properties specific to the resource adapter and its underlying EIS. Possible values include ServerName PortNumber UserName Password ConnectionURL Example: <config-property-name>ServerName</config-property-name> ]]> </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:xsdStringType"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="config-property-typeType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The config-property-typeType contains the fully qualified Java type of a configuration property. The following are the legal values: java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, java.lang.Float, java.lang.Character Used in: config-property Example:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -