Package ee.tck.javadb
Class JavaDBController
java.lang.Object
ee.tck.javadb.JavaDBController
JavaDBController is a utility class to start and stop the JavaDB server. It provides the same functionality as the
EE10 ant start.javadb and stop.javadb targets.
-
Constructor Summary
ConstructorsConstructorDescriptionUse the default values for the JavaDBControllerJavaDBController
(String dbName, String server, int port, String user, String passwd) Use the provided values for the JavaDBControllerJavaDBController
(Path tsJte) Load the JavaDBController settings from the tsJte file -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the JavaDB server is runningvoid
startJavaDB
(Path derbyHome) void
-
Constructor Details
-
JavaDBController
public JavaDBController()Use the default values for the JavaDBController -
JavaDBController
Use the provided values for the JavaDBController- Parameters:
dbName
-server
-port
-user
-passwd
-
-
JavaDBController
Load the JavaDBController settings from the tsJte file- Parameters:
tsJte
-- Throws:
IOException
-
-
Method Details