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.


Constructor Summary
QMachineDriver()
           
 
Method Summary
 boolean acceptsURL(String url)
          Returns true if this driver can handle the given URL.
 Connection connect(String url, Properties info)
          Returns a Connection for the given URL and Properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QMachineDriver

public QMachineDriver()
Method Detail

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 connection
info - 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.