com.evolveum.midpoint.test.util
Class DerbyController

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

public class DerbyController
extends Object

Author:
Radovan Semancik

Field Summary
static String COLUMN_CHANGELOG
           
static String COLUMN_FULL_NAME
           
static String COLUMN_LOGIN
           
static String COLUMN_PASSWORD
           
static int DEFAULT_LISTEN_PORT
           
 
Constructor Summary
DerbyController()
           
DerbyController(String dbName, String listenHostname, int listentPort)
           
 
Method Summary
 Connection getConnection()
           
 String getDbName()
           
 Statement getExecutedStatementWhereLoginName(String loginName)
           
 String getListenHostname()
           
 int getListentPort()
           
 String getPassword()
           
 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 String COLUMN_LOGIN

COLUMN_PASSWORD

public static String COLUMN_PASSWORD

COLUMN_FULL_NAME

public static String COLUMN_FULL_NAME

COLUMN_CHANGELOG

public static String COLUMN_CHANGELOG
Constructor Detail

DerbyController

public DerbyController()

DerbyController

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

getListenHostname

public String getListenHostname()

getListentPort

public int getListentPort()

getDbName

public String getDbName()

getUsername

public String getUsername()

getPassword

public String getPassword()

getConnection

public Connection getConnection()
                         throws SQLException
Throws:
SQLException

startCleanServer

public void startCleanServer()
                      throws Exception
Throws:
Exception

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

getExecutedStatementWhereLoginName

public Statement getExecutedStatementWhereLoginName(String loginName)
                                             throws SQLException
Throws:
SQLException


Copyright © 2013 evolveum. All Rights Reserved.