public class Connect extends AbstractConnect
Modifier and Type | Field and Description |
---|---|
org.apache.derby.drda.NetworkServerControl |
nsc |
Constructor and Description |
---|
Connect() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkNetworkService(String host,
String port)
Override this for special handling like starting a data server.
|
static Connection |
createDefaultConnection()
Factory method for Connection from the config.properties
|
static String |
getDefaultConnectionName()
Get model name of default connection
|
makeConnection
public static Connection createDefaultConnection() throws Throwable
Throwable
- Connection exceptionspublic static String getDefaultConnectionName()
protected void checkNetworkService(String host, String port) throws Throwable
AbstractConnect
checkNetworkService
in class AbstractConnect
host
- hostnameport
- numberThrowable
- exceptionCopyright © 2021. All rights reserved.