connector_1_0.dtd: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES

connector_1_0.dtd

Copyright 2000-2001 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved.

This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or documentation 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, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. and other countries.

All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

PostScript is a registered trademark of Adobe Systems, Inc.

Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions.

DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

_________________________________________________________________________

Copyright 2000-2001 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis. Tous droits re'serve's.

Ce produit ou document est prote'ge' par un copyright et distribue' avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la de'compilation. Aucune partie de ce produit ou de sa documentation associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de licence, s'il y en a.

Le logiciel de'tenu par des tiers, et qui comprend la technologie relative aux polices de caracte`res, est prote'ge' par un copyright et licencie' par des fournisseurs de Sun.

Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans, sont des marques de fabrique ou des marques de'pose'es de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays.

Toutes les marques SPARC sont utilise'es sous licence et sont des marques de fabrique ou des marques de'pose'es de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.

Postcript est une marque enregistre'e d'Adobe Systems Inc.

LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.



<connector> Root element

The connector element is the root element of the deployment descriptor for the resource adapter. This element includes general information - vendor name, version, specification version supported, 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.

<connector>'s children
NameCardinality
descriptionOne or none
display-nameOne or none
eis-typeOnly one
iconOne or none
licenseOne or none
resourceadapterOnly one
spec-versionOnly one
vendor-nameOnly one
versionOnly one
<connector>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(display-name?, description?, icon?, vendor-name, spec-version, eis-type, version, license?, resourceadapter)


<authentication-mechanism> Child of resourceadapter

The element authentication-mechanism 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 javax.resource.spi.security.GenericCredential interface.

Used in: resourceadapter

<authentication-mechanism>'s children
NameCardinality
authentication-mechanism-typeOnly one
credential-interfaceOnly one
descriptionOne or none
<authentication-mechanism>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(description?, authentication-mechanism-type, credential-interface)


<authentication-mechanism-type> Child of authentication-mechanism

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.

Used in: authentication-mechanism

<authentication-mechanism-type>'s attributes
NameValuesDefault
idMatch the ID rules.

<config-property> Child of resourceadapter

The element config-property contains a declaration of a single configuration property for a ManagedConnectionFactory instance.

Each ManagedConnectionFactory instance creates connections to a specific EIS instance based on the properties configured on the ManagedConnectionFactory instance. The configurable properties are specified only once in the deployment descriptor, even though a resource adapter can be used to configure multiple ManagedConnnection- Factory instances (that create connections to different instances of the same EIS).

The declaration consists of an optional description, name, type and an optional value of the configuration property. If the resource adapter provider does not specify a value than the deployer is responsible for providing a valid value for a configuration property.

Any bounds or well-defined values of properties should be described in the description element.

Used in: resourceadapter

<config-property>'s children
NameCardinality
config-property-nameOnly one
config-property-typeOnly one
config-property-valueOne or none
descriptionOne or none
<config-property>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(description?, config-property-name, config-property-type, config-property-value?)


<config-property-name> Child of config-property

The element config-property-name 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: <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 include properties specific to the resource adapter and its underlying EIS.

Used in: config-property

Example: <config-property-name>ServerName</config-property-name>

<config-property-name>'s attributes
NameValuesDefault
idMatch the ID rules.

<config-property-type> Child of config-property

The element config-property-type contains the fully qualified Java type 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.Character

Used in: config-property

Example: <config-property-type>java.lang.String</config-property-type>

<config-property-type>'s attributes
NameValuesDefault
idMatch the ID rules.

<config-property-value> Child of config-property

The element config-property-value contains the value of a configuration entry.

Used in: config-property

Example: <config-property-value>WombatServer</config-property-value>

<config-property-value>'s attributes
NameValuesDefault
idMatch the ID rules.

<connection-impl-class> Child of resourceadapter

The element connection-impl-class specifies the fully-qualified name of the Connection class that implements resource adapter specific Connection interface.

Used in: resourceadapter

Example: <connection-impl-class>com.wombat.ConnectionImpl </connection-impl-class>

<connection-impl-class>'s attributes
NameValuesDefault
idMatch the ID rules.

<connection-interface> Child of resourceadapter

The element connection-interface specifies the fully-qualified name of the Connection interface supported by the resource adapter.

Used in: resourceadapter

Example: <connection-interface>javax.resource.cci.Connection </connection-interface>

<connection-interface>'s attributes
NameValuesDefault
idMatch the ID rules.

<connectionfactory-impl-class> Child of resourceadapter

The element connectionfactory-impl-class specifies the fully-qualified name of the ConnectionFactory class that implements resource adapter specific ConnectionFactory interface.

Used in: resourceadapter

Example: <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl </connectionfactory-impl-class>

<connectionfactory-impl-class>'s attributes
NameValuesDefault
idMatch the ID rules.

<connectionfactory-interface> Child of resourceadapter

The element connectionfactory-interface specifies the fully-qualified name of the ConnectionFactory interface supported by the resource adapter.

Used in: resourceadapter

Example: <connectionfactory-interface>com.wombat.ConnectionFactory </connectionfactory-interface> OR <connectionfactory-interface>javax.resource.cci.ConnectionFactory </connectionfactory-interface>

<connectionfactory-interface>'s attributes
NameValuesDefault
idMatch the ID rules.

<credential-interface> Child of authentication-mechanism

The element credential-interface specifies the interface that the resource adapter implementation supports for the representation of the credentials. This element should be used by application server to find out the Credential interface it should use as part of the security contract.

The possible values are: <credential-interface>javax.resource.spi.security.PasswordCredential </credential-interface> <credential-interface>javax.resource.spi.security.GenericCredential </credential-interface>

Used in: authentication-mechanism

<credential-interface>'s attributes
NameValuesDefault
idMatch the ID rules.

<description> Child of security-permission, connector, config-property, license, authentication-mechanism

The description element is used to provide text describing the parent element. The description element should include any information that the resource adapter rar file producer wants to provide to the consumer of the resource adapter rar file (i.e., to the Deployer). Typically, the tools used by the resource adapter rar file consumer will display the description when processing the parent element that contains the description.

Used in: authentication-mechanism, config-property, connector, license, security-permission

<description>'s attributes
NameValuesDefault
idMatch the ID rules.

<display-name> Child of connector

The display-name element contains a short name that is intended to be displayed by tools. The display name need not be unique.

Used in: connector

Example:

<display-name>Employee Self Service</display-name>

<display-name>'s attributes
NameValuesDefault
idMatch the ID rules.

<eis-type> Child of connector

The element eis-type contains information about the type of the EIS. For example, the type of an EIS can be product name of EIS independent of any version info.

This helps in identifying EIS instances that can be used with this resource adapter.

Used in: connector

<eis-type>'s attributes
NameValuesDefault
idMatch the ID rules.

<icon> Child of connector

The icon element contains small-icon and large-icon elements that specify the file names for small and a large GIF or JPEG icon images used to represent the parent element in a GUI tool.

Used in: connector

<icon>'s children
NameCardinality
large-iconOne or none
small-iconOne or none
<icon>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(small-icon?, large-icon?)


<large-icon> Child of icon

The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the resource adapter's rar file.

The image may be either in the JPEG or GIF format. The icon can be used by tools.

Used in: icon

Example:

<large-icon>employee-service-icon32x32.jpg</large-icon>

<large-icon>'s attributes
NameValuesDefault
idMatch the ID rules.

<license> Child of connector

The element license specifies licensing requirements for the resource adapter module. This element specifies whether a license is required to deploy and use this resource adapter, and an optional description of the licensing terms (examples: duration of license, number of connection restrictions).

Used in: connector

<license>'s children
NameCardinality
descriptionOne or none
license-requiredOnly one
<license>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(description?, license-required)


<license-required> Child of license

The element license-required specifies whether a license is required to deploy and use the resource adapter. This element must be one of the following:

<license-required>true</license-required> <license-required>false</license-required>

Used in: license

<license-required>'s attributes
NameValuesDefault
idMatch the ID rules.

<managedconnectionfactory-class> Child of resourceadapter

The element managedconnectionfactory-class specifies the fully qualified name of the Java class that implements the javax.resource.spi.Managed- ConnectionFactory interface. This Java class is provided as part of resource adapter's implementation of connector architecture specified contracts.

Used in: resourceadapter

Example: <managedconnectionfactory-class>com.wombat.ManagedConnectionFactoryImpl </managedconnectionfactory-class>

<managedconnectionfactory-class>'s attributes
NameValuesDefault
idMatch the ID rules.

<reauthentication-support> Child of resourceadapter

The element reauthentication-support specifies whether the resource adapter implementation supports re-authentication of existing Managed- Connection instance. Note that this information is for the resource adapter implementation and not for the underlying EIS instance.

This element must be one of the following: <reauthentication-support>true</reauthentication-support> <reauthentication-support>false</reauthentication-support> Used in: resourceadapter

<reauthentication-support>'s attributes
NameValuesDefault
idMatch the ID rules.

<resourceadapter> Child of connector

The element resourceadapter specifies information about the resource adapter. The information includes fully-qualified names of class/interfaces required as part of the connector architecture specified contracts, level of transaction support provided, configurable properties for ManagedConnectionFactory instances, one or more authentication mechanisms supported and additional required security permissions.

If there is no authentication-mechanism specified as part of resource adapter element then the resource adapter does not support any standard security authentication mechanisms as part of security contract. The application server ignores the security part of the system contracts in this case.

Used in: connector

<resourceadapter>'s children
NameCardinality
authentication-mechanismAny number
config-propertyAny number
connectionfactory-impl-classOnly one
connectionfactory-interfaceOnly one
connection-impl-classOnly one
connection-interfaceOnly one
managedconnectionfactory-classOnly one
reauthentication-supportOnly one
security-permissionAny number
transaction-supportOnly one
<resourceadapter>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(managedconnectionfactory-class, connectionfactory-interface, connectionfactory-impl-class, connection-interface, connection-impl-class, transaction-support, config-property*, authentication-mechanism*, reauthentication-support, security-permission*)


<security-permission> Child of resourceadapter

The element security permission specifies a security permission that is required by the resource adapter code.

The security permission listed in the deployment descriptor are ones that are different from those required by the default permission set as specified in the connector specification. The optional description can mention specific reason that resource adapter requires a given security permission.

Used in: resourceadapter

<security-permission>'s children
NameCardinality
descriptionOne or none
security-permission-specOnly one
<security-permission>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(description?, security-permission-spec)


<security-permission-spec> Child of security-permission

The element permission-spec specifies a security permission based on the Security policy file syntax. Refer to the following URL for Sun's implementation of the security permission specification:

http:

Used in: security-permission

<security-permission-spec>'s attributes
NameValuesDefault
idMatch the ID rules.

<small-icon> Child of icon

The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the resource adapter's rar file.

The image may be either in the JPEG or GIF format. The icon can be used by tools.

Used in: icon

Example:

<small-icon>employee-service-icon16x16.jpg</small-icon>

<small-icon>'s attributes
NameValuesDefault
idMatch the ID rules.

<spec-version> Child of connector

The element spec-version specifies the version of the connector architecture specification that is supported by this resource adapter. This information enables deployer to configure the resource adapter to support deployment and runtime requirements of the corresponding connector architecture specification.

Used in: connector

Example: <spec-version>1.0</spec-version>

<spec-version>'s attributes
NameValuesDefault
idMatch the ID rules.

<transaction-support> Child of resourceadapter

The transaction-support element specifies the level of transaction support provided by the resource adapter. The value of transaction-support must be one of the following: <transaction-support>NoTransaction</transaction-support> <transaction-support>LocalTransaction</transaction-support> <transaction-support>XATransaction</transaction-support>

Used in: resourceadapter

<transaction-support>'s attributes
NameValuesDefault
idMatch the ID rules.

<vendor-name> Child of connector

The element vendor-name specifies the name of resource adapter provider vendor.

Used in: connector

Example: <vendor-name>Wombat Corp.</vendor-name>

<vendor-name>'s attributes
NameValuesDefault
idMatch the ID rules.

<version> Child of connector

The element version specifies a string-based version of the resource adapter from the resource adapter provider.

Used in: connector

Example: <version>1.0</version>

<version>'s attributes
NameValuesDefault
idMatch the ID rules.

@id Attribute of authentication-mechanism

The ID mechanism is to allow tools that produce additional deployment information (i.e., information beyond the standard deployment descriptor information) to store the non-standard information in a separate file, and easily refer from these tool-specific files to the information in the standard deployment descriptor.

Tools are not allowed to add the non-standard information into the standard deployment descriptor.

Possible values: Match the ID rules.


@id Attribute of authentication-mechanism-type

Element identifier.

Possible values: Match the ID rules.


@id Attribute of config-property

Element identifier.

Possible values: Match the ID rules.


@id Attribute of config-property-name

Element identifier.

Possible values: Match the ID rules.


@id Attribute of config-property-type

Element identifier.

Possible values: Match the ID rules.


@id Attribute of config-property-value

Element identifier.

Possible values: Match the ID rules.


@id Attribute of connection-impl-class

Element identifier.

Possible values: Match the ID rules.


@id Attribute of connection-interface

Element identifier.

Possible values: Match the ID rules.


@id Attribute of connectionfactory-impl-class

Element identifier.

Possible values: Match the ID rules.


@id Attribute of connectionfactory-interface

Element identifier.

Possible values: Match the ID rules.


@id Attribute of connector

Element identifier.

Possible values: Match the ID rules.


@id Attribute of credential-interface

Element identifier.

Possible values: Match the ID rules.


@id Attribute of description

Element identifier.

Possible values: Match the ID rules.


@id Attribute of display-name

Element identifier.

Possible values: Match the ID rules.


@id Attribute of eis-type

Element identifier.

Possible values: Match the ID rules.


@id Attribute of icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of large-icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of license

Element identifier.

Possible values: Match the ID rules.


@id Attribute of license-required

Element identifier.

Possible values: Match the ID rules.


@id Attribute of managedconnectionfactory-class

Element identifier.

Possible values: Match the ID rules.


@id Attribute of reauthentication-support

Element identifier.

Possible values: Match the ID rules.


@id Attribute of resourceadapter

Element identifier.

Possible values: Match the ID rules.


@id Attribute of security-permission

Element identifier.

Possible values: Match the ID rules.


@id Attribute of security-permission-spec

Element identifier.

Possible values: Match the ID rules.


@id Attribute of small-icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of spec-version

Element identifier.

Possible values: Match the ID rules.


@id Attribute of transaction-support

Element identifier.

Possible values: Match the ID rules.


@id Attribute of vendor-name

Element identifier.

Possible values: Match the ID rules.


@id Attribute of version

Element identifier.

Possible values: Match the ID rules.