net.sf.farrago.server
Class FarragoVjdbcServer

java.lang.Object
  extended by net.sf.farrago.server.FarragoAbstractServer
      extended by net.sf.farrago.server.FarragoVjdbcServer
Direct Known Subclasses:
LucidDbServer

public class FarragoVjdbcServer
extends FarragoAbstractServer

FarragoVjdbcServer is a wrapper which configures a VJDBC server to listen for connections on behalf of a Farrago DBMS engine.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/server/FarragoVjdbcServer.java#15 $
Author:
John V. Sichi

Nested Class Summary
private  class FarragoVjdbcServer.FarragoConnectionConfiguration
           
 
Field Summary
private  FarragoJdbcServerDriver jdbcDriver
           
 
Fields inherited from class net.sf.farrago.server.FarragoAbstractServer
connectionTimeoutMillis, pw, rmiRegistry, rmiRegistryPort, singleListenerPort
 
Constructor Summary
FarragoVjdbcServer()
           
FarragoVjdbcServer(PrintWriter pw)
           
 
Method Summary
static void main(String[] args)
          Defines the main entry point for the Farrago server.
protected  int startNetwork(FarragoJdbcServerDriver jdbcDriver)
          Starts the network.
 
Methods inherited from class net.sf.farrago.server.FarragoAbstractServer
configureNetwork, getGroundReferences, getPrintWriter, locateRmiRegistry, runConsole, start, stopHard, stopNetwork, stopSoft, unbindRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdbcDriver

private FarragoJdbcServerDriver jdbcDriver
Constructor Detail

FarragoVjdbcServer

public FarragoVjdbcServer()

FarragoVjdbcServer

public FarragoVjdbcServer(PrintWriter pw)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Defines the main entry point for the Farrago server. Customized servers can provide their own which call start() with an extended implementation of FarragoJdbcServerDriver.

Parameters:
args - ignored
Throws:
Exception

startNetwork

protected int startNetwork(FarragoJdbcServerDriver jdbcDriver)
                    throws Exception
Description copied from class: FarragoAbstractServer
Starts the network.

Specified by:
startNetwork in class FarragoAbstractServer
Parameters:
jdbcDriver - the JDBC driver which will be served to remote clients
Returns:
network port on which server is configured to listen
Throws:
Exception