com.evolveum.midpoint.test.util
Class DerbyController

java.lang.Object
  extended by com.evolveum.midpoint.test.util.DerbyController

public class DerbyController
extends java.lang.Object

Author:
Radovan Semancik

Field Summary
static java.lang.String COLUMN_CHANGELOG
           
static java.lang.String COLUMN_FULL_NAME
           
static java.lang.String COLUMN_LOGIN
           
static java.lang.String COLUMN_PASSWORD
           
static int DEFAULT_LISTEN_PORT
           
 
Constructor Summary
DerbyController()
           
DerbyController(java.lang.String dbName, java.lang.String listenHostname, int listentPort)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 java.lang.String getDbName()
           
 java.sql.Statement getExecutedStatementWhereLoginName(java.lang.String loginName)
           
 java.lang.String getListenHostname()
           
 int getListentPort()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 void start()
           
 void startCleanServer()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LISTEN_PORT

public static final int DEFAULT_LISTEN_PORT
See Also:
Constant Field Values

COLUMN_LOGIN

public static java.lang.String COLUMN_LOGIN

COLUMN_PASSWORD

public static java.lang.String COLUMN_PASSWORD

COLUMN_FULL_NAME

public static java.lang.String COLUMN_FULL_NAME

COLUMN_CHANGELOG

public static java.lang.String COLUMN_CHANGELOG
Constructor Detail

DerbyController

public DerbyController()

DerbyController

public DerbyController(java.lang.String dbName,
                       java.lang.String listenHostname,
                       int listentPort)
Method Detail

getListenHostname

public java.lang.String getListenHostname()

getListentPort

public int getListentPort()

getDbName

public java.lang.String getDbName()

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

startCleanServer

public void startCleanServer()
                      throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

getExecutedStatementWhereLoginName

public java.sql.Statement getExecutedStatementWhereLoginName(java.lang.String loginName)
                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2012 evolveum. All Rights Reserved.