com.googlecode.jdbw.server.h2
Class H2NetworkServer

java.lang.Object
  extended by com.googlecode.jdbw.server.AbstractDatabaseServer
      extended by com.googlecode.jdbw.server.StandardDatabaseServer
          extended by com.googlecode.jdbw.server.h2.H2NetworkServer
All Implemented Interfaces:
DatabaseServer, H2Server, MultiCatalogDatabaseServer, NetworkDatabaseServer, UserAuthenticatedDatabaseServer

public class H2NetworkServer
extends StandardDatabaseServer
implements NetworkDatabaseServer, MultiCatalogDatabaseServer, UserAuthenticatedDatabaseServer, H2Server

Author:
Martin Berglund

Constructor Summary
H2NetworkServer(String hostname, int port, String catalog, String username, String password)
           
 
Method Summary
protected  Properties getConnectionProperties()
           
 DatabaseServerType getServerType()
           
 
Methods inherited from class com.googlecode.jdbw.server.StandardDatabaseServer
equals, getDefaultCatalog, getHostname, getJDBCUrl, getPassword, getPort, getUsername, hashCode, toString
 
Methods inherited from class com.googlecode.jdbw.server.AbstractDatabaseServer
connect, getDriverDescriptor, setConnectionProperty, testConnection
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.googlecode.jdbw.server.NetworkDatabaseServer
getHostname, getPort
 
Methods inherited from interface com.googlecode.jdbw.server.MultiCatalogDatabaseServer
getDefaultCatalog
 
Methods inherited from interface com.googlecode.jdbw.server.UserAuthenticatedDatabaseServer
getPassword, getUsername
 
Methods inherited from interface com.googlecode.jdbw.DatabaseServer
connect, setConnectionProperty, testConnection
 

Constructor Detail

H2NetworkServer

public H2NetworkServer(String hostname,
                       int port,
                       String catalog,
                       String username,
                       String password)
Method Detail

getServerType

public DatabaseServerType getServerType()
Specified by:
getServerType in interface DatabaseServer
Returns:
Type of the server

getConnectionProperties

protected Properties getConnectionProperties()
Overrides:
getConnectionProperties in class AbstractDatabaseServer


Copyright © 2012. All Rights Reserved.