com.softwareag.xtools.quip.xqueryAPI
Class QMachineDriver
java.lang.Object
|
+--com.softwareag.xtools.quip.xqueryAPI.QMachineDriver
- All Implemented Interfaces:
- Driver
- public class QMachineDriver
- extends Object
- implements Driver
A driver based on the QMachine.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QMachineDriver
public QMachineDriver()
acceptsURL
public boolean acceptsURL(String url)
- Returns true if this driver can handle the given URL.
- Specified by:
acceptsURL in interface Driver
- Parameters:
url - the URL that should be checked
connect
public Connection connect(String url,
Properties info)
throws XQueryException
- Returns a Connection for the given URL and Properties.
- Specified by:
connect in interface Driver
- Parameters:
url - the target URL for the requested connectioninfo - additional properties for the connnection- Returns:
- a new Connection to the given URL
- Throws:
XQueryException - if any error occurs during connect to the database
Copyright (c) 2001 Software AG. All Rights Reserved.