Logo Search packages:      
Sourcecode: mysql-connector-java version File versions  Download package

com::mysql::jdbc::util::ServerController Class Reference

List of all members.

Detailed Description

Controls a MySQL server using Java RunTime methods

$Id: ServerController.java,v 2005/05/13 18:58:39 mmatthews Exp $
Mark Matthews

Definition at line 43 of file ServerController.java.

Public Member Functions

void forceStop ()
synchronized Properties getServerProps ()
 ServerController (String basedir, String datadir)
 ServerController (String baseDir)
void setBaseDir (String baseDir)
void setDataDir (String dataDir)
Process start () throws IOException
void stop (boolean forceIfNecessary) throws IOException

Static Public Attributes

static final String BASEDIR_KEY = "basedir"
static final String DATADIR_KEY = "datadir"
static final String DEFAULTS_FILE_KEY = "defaults-file"
static final String EXECUTABLE_NAME_KEY = "executable"
static final String EXECUTABLE_PATH_KEY = "executablePath"

Private Member Functions

String buildOptionalCommandLine ()
String getCommandLine ()
String getFullExecutablePath ()
synchronized Properties getSystemProperties ()
boolean isNonCommandLineArgument (String propName)
boolean runningOnWindows ()

Private Attributes

Process serverProcess = null
Properties serverProps = null
Properties systemProps = null

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index