Driver Definition

org.eclipse.datatools.connectivity.driverExtension

DTP 0.x

The driverExtension is used by developers to define templates that describe the mechanical components necessary for opening connections to servers. Users create specific driver definitions using these templates.

The driver definitions are intended to be used in conjunction with connection profiles, where the driver definition specifies the mechanics (e.g. JAR files, driver class names, etc.) necessary for opening the connection and where the connection profile specifies the particulars for connecting to a specific server (e.g. host, port, user ID, password, etc.).

<!ELEMENT extension (category* , driverTemplate)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT category EMPTY>

<!ATTLIST category

id             CDATA #REQUIRED

name           CDATA #IMPLIED

description    CDATA #IMPLIED

parentCategory CDATA #IMPLIED>

This element is used to identify a category. Categories are used to group related connection profile types (e.g. databases).



<!ELEMENT driverTemplate (properties?)>

<!ATTLIST driverTemplate

id               CDATA #REQUIRED

name             CDATA #IMPLIED

description      CDATA #IMPLIED

parentCategory   CDATA #IMPLIED

jarList          CDATA #IMPLIED

createDefault    (true | false) "true"

emptyJarListIsOK (true | false) "false">

This element is used to identify a template.



<!ELEMENT properties (property+)>

Parent container for specific driver definition properties.



<!ELEMENT property EMPTY>

<!ATTLIST property

id                       CDATA #REQUIRED

name                     CDATA #REQUIRED

description              CDATA #IMPLIED

value                    CDATA #IMPLIED

visible                  (true | false) "true"

example                  CDATA #IMPLIED

required                 (true | false) "true"

generated                (true | false) "false"

customPropertyDescriptor CDATA #IMPLIED

category                 CDATA #IMPLIED>

A property definition for a driver definition.



[Enter API information here.]

[Enter information about supplied implementation of this extension point.]


Copyright (c) 2004-2005 Sybase, Inc.

All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

Contributors: brianf - initial API and implementation