net.sf.farrago.server
Class FarragoRmiJdbcServer
java.lang.Object
net.sf.farrago.server.FarragoAbstractServer
net.sf.farrago.server.FarragoRmiJdbcServer
- Direct Known Subclasses:
- FarragoServer
public class FarragoRmiJdbcServer
- extends FarragoAbstractServer
FarragoRmiJdbcServer is a wrapper which configures an RmiJdbc server to
listen for connections on behalf of a Farrago DBMS engine.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/server/FarragoRmiJdbcServer.java#7 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoRmiJdbcServer
public FarragoRmiJdbcServer()
- Creates a new FarragoRmiJdbcServer instance, with console output to
System.out. This constructor can be used to embed a FarragoRmiJdbcServer
inside of another container such as a J2EE app server.
FarragoRmiJdbcServer
public FarragoRmiJdbcServer(PrintWriter pw)
throws Exception
- Creates a new FarragoRmiJdbcServer instance, with redirected console
output. This constructor can be used to embed a FarragoServer inside of
another container such as a J2EE app server.
- Parameters:
pw
- receives console output
- Throws:
Exception
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