simpledb.remote
Class SimpleDriver
java.lang.Object
simpledb.remote.DriverAdapter
simpledb.remote.SimpleDriver
- All Implemented Interfaces:
- Driver
public class SimpleDriver
- extends DriverAdapter
The SimpleDB database driver.
- Author:
- Edward Sciore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDriver
public SimpleDriver()
connect
public Connection connect(String url,
Properties prop)
throws SQLException
- Connects to the SimpleDB server on the specified host.
The method retrieves the RemoteDriver stub from
the RMI registry on the specified host.
It then calls the connect method on that stub,
which in turn creates a new connection and
returns the RemoteConnection stub for it.
This stub is wrapped in a SimpleConnection object
and is returned.
The current implementation of this method ignores the
properties argument.
- Specified by:
connect
in interface Driver
- Overrides:
connect
in class DriverAdapter
- Throws:
SQLException
- See Also:
Driver.connect(java.lang.String, Properties)
Copyright © 2011. All Rights Reserved.