net.sf.farrago.jdbc.engine
Interface FarragoJdbcServerDriver

All Superinterfaces:
Driver
All Known Implementing Classes:
FarragoAutoCalcRulesTest.TestJdbcEngineDriver, FarragoJdbcEngineDriver, FarragoUnregisteredJdbcEngineDriver, LucidDbLocalDriver

public interface FarragoJdbcServerDriver
extends Driver

FarragoJdbcServerDriver defines the interface which must be implemented by JDBC drivers which can be used to implement FarragoRmiJdbcServer.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/engine/FarragoJdbcServerDriver.java#13 $
Author:
John V. Sichi

Method Summary
 String getBaseUrl()
           
 FarragoSessionFactory newSessionFactory()
          Creates a new FarragoSessionFactory which will govern the behavior of connections established through this driver.
 
Methods inherited from interface java.sql.Driver
acceptsURL, connect, getMajorVersion, getMinorVersion, getPropertyInfo, jdbcCompliant
 

Method Detail

newSessionFactory

FarragoSessionFactory newSessionFactory()
Creates a new FarragoSessionFactory which will govern the behavior of connections established through this driver.

Returns:
new factory

getBaseUrl

String getBaseUrl()
Returns:
the base JDBC URL for this driver; subclassing drivers can override this to customize the URL scheme