📄 connector_1_0.dtd
字号:
<!--Copyright (c) 2000 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 totechnology embodied in the product that is described in this document.In particular, and without limitation, these intellectual propertyrights may include one or more of the U.S. patents listed athttp://www.sun.com/patents and one or more additional patents orpending patent applications in the U.S. and in other countries.This document and the product to which it pertains are distributedunder licenses restricting their use, copying, distribution, anddecompilation. This document may be reproduced and distributed but maynot be changed without prior written authorization of Sun and itslicensors, if any.Third-party software, including font technology, is copyrighted andlicensed from Sun suppliers.Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, JavaNaming and Directory Interface, JDBC, JDK, JavaMail and andEnterprise JavaBeans are trademarks or registered trademarks of SunMicrosystems, Inc. in the U.S. and other countries.Federal Acquisitions: Commercial Software - Government Users Subject toStandard License Terms and Conditions.DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIEDCONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIEDWARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE ORNON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCHDISCLAIMERS ARE HELD TO BE LEGALLY INVALID._________________________________________________________________________Copyright (c) 2000 Sun Microsystems, Inc.,901 San Antonio Road,Palo Alto, California 94303, E'tats-Unis.Tous droits re'serve's.Sun Microsystems, Inc. a les droits de proprie'te' intellectuelsrelatants a` la technologie incorpore'e dans le produit qui est de'critdans ce document. En particulier, et sans la limitation, ces droits deproprie'te' intellectuels peuvent inclure un ou plus des brevetsame'ricains e'nume're's a` http://www.sun.com/patents et un ou lesbrevets plus supple'mentaires ou les applications de brevet en attentedans les E'tats-Unis et dans les autres pays.Ce produit ou document est prote'ge' par un copyright et distribue'avec des licences qui en restreignent l'utilisation, la copie, ladistribution, et la de'compilation. Ce documention associe n peute^tre reproduite et distribuer, par quelque moyen que ce soit, sansl'autorisation pre'alable et e'crite de Sun et de ses bailleurs delicence, le cas e'che'ant.Le logiciel de'tenu par des tiers, et qui comprend la technologierelative aux polices de caracte`res, est prote'ge' par un copyright etlicencie' par des fournisseurs de Sun.Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, JavaNaming and Directory Interface, JDBC, JDK, JavaMail et andEnterprise JavaBeans sont des marques de fabrique ou des marquesde'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autrespays.LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENTEXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRISNOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, AL'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DECONTREFAC,ON.--><!--This is the XML DTD for the Connector 1.0 deployment descriptor.All Connector 1.0 deployment descriptors must include a DOCTYPEof the following form: <!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "http://java.sun.com/dtd/connector_1_0.dtd">--><!--The following conventions apply to all J2EE deployment descriptorelements unless indicated otherwise.- In elements that contain PCDATA, leading and trailing whitespace in the data may be ignored.- In elements whose value is an "enumerated type", the value is case sensitive.- 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.--><!--The connector element is the root element of the deployment descriptorfor the resource adapter. This element includes general information - vendorname, version, specification version supported, icon - about theresource adapter module. It also includes information specific to theimplementation of the resource adapter library as specified throughthe element resourceadapter.--><!ELEMENT connector (display-name?, description?, icon?, vendor-name,spec-version, eis-type, version, license?, resourceadapter)><!--The element authentication-mechanism specifies an authentication mechanismsupported by the resource adapter. Note that this support is forthe resource adapter and not for the underlying EIS instance. Theoptional description specifies any resource adapter specific requirementfor the support of security contract and authentication mechanism.Note that BasicPassword mechanism type should support thejavax.resource.spi.security.PasswordCredential interface.The Kerbv5 mechanism type should support thejavax.resource.spi.security.GenericCredential interface.Used in: resourceadapter--><!ELEMENT authentication-mechanism (description?, authentication-mechanism-type, credential-interface)><!--The element authentication-mechanism-type specifies type of an authenticationmechanism.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 theConnector architecture specification.Used in: authentication-mechanism--><!ELEMENT authentication-mechanism-type (#PCDATA)><!--The element config-property contains a declaration of a singleconfiguration property for a ManagedConnectionFactory instance.Each ManagedConnectionFactory instance creates connections to aspecific EIS instance based on the properties configured on theManagedConnectionFactory instance. The configurable properties arespecified only once in the deployment descriptor, even though aresource adapter can be used to configure multiple ManagedConnnection-Factory instances (that create connections to different instances ofthe same EIS).The declaration consists of an optional description, name, typeand an optional value of the configuration property. If the resourceadapter provider does not specify a value than the deployer isresponsible for providing a valid value for a configuration property.Any bounds or well-defined values of properties should be describedin the description element.Used in: resourceadapter--><!ELEMENT config-property (description?, config-property-name,config-property-type, config-property-value?)><!--The element config-property-name contains the name of a configurationproperty.The connector architecture defines a set of well-defined propertiesall of type java.lang.String. These are as follows: <config-property-name>ServerName</config-property-name> <config-property-name>PortNumber</config-property-name> <config-property-name>UserName</config-property-name> <config-property-name>Password</config-property-name> <config-property-name>ConnectionURL</config-property-name>A resource adapter provider can extend this property set to includeproperties specific to the resource adapter and its underlying EIS.Used in: config-propertyExample: <config-property-name>ServerName</config-property-name>--><!ELEMENT config-property-name (#PCDATA)><!--The element config-property-type contains the fully qualified Javatype of a configuration property as required by ManagedConnection-Factory instance.The following are the legal values of config-property-type: 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.CharacterUsed in: config-propertyExample: <config-property-type>java.lang.String</config-property-type>--><!ELEMENT config-property-type (#PCDATA)><!--The element config-property-value contains the value of a configurationentry.Used in: config-propertyExample: <config-property-value>WombatServer</config-property-value>--><!ELEMENT config-property-value (#PCDATA)><!--The element connection-impl-class specifies the fully-qualifiedname of the Connection class that implements resource adapterspecific Connection interface.Used in: resourceadapterExample: <connection-impl-class>com.wombat.ConnectionImpl </connection-impl-class>--><!ELEMENT connection-impl-class (#PCDATA)><!--The element connection-interface specifies the fully-qualifiedname of the Connection interface supported by the resourceadapter.Used in: resourceadapterExample: <connection-interface>javax.resource.cci.Connection </connection-interface>--><!ELEMENT connection-interface (#PCDATA)><!--The element connectionfactory-impl-class specifies the fully-qualifiedname of the ConnectionFactory class that implements resource adapterspecific ConnectionFactory interface.Used in: resourceadapterExample: <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl </connectionfactory-impl-class>--><!ELEMENT connectionfactory-impl-class (#PCDATA)><!--The element connectionfactory-interface specifies the fully-qualifiedname of the ConnectionFactory interface supported by the resourceadapter.Used in: resourceadapterExample: <connectionfactory-interface>com.wombat.ConnectionFactory </connectionfactory-interface>OR<connectionfactory-interface>javax.resource.cci.ConnectionFactory </connectionfactory-interface>--><!ELEMENT connectionfactory-interface (#PCDATA)><!--The element credential-interface specifies the interface that theresource adapter implementation supports for the representationof the credentials. This element should be used by application serverto find out the Credential interface it should use as part of the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -