java.lang.Object
org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory
- All Implemented Interfaces:
FbDatabaseFactory
Implementation of
FbDatabaseFactory
for the wire protocol implementation.- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect
(IConnectionProperties connectionProperties) Connects to a Firebird server based on the supplied connection properties.static FbWireDatabaseFactory
serviceConnect
(IServiceProperties serviceProperties) Connects to the service manager of a Firebird server with the supplied service properties.
-
Constructor Details
-
FbWireDatabaseFactory
public FbWireDatabaseFactory()
-
-
Method Details
-
connect
Description copied from interface:FbDatabaseFactory
Connects to a Firebird server based on the supplied connection properties.The
FbDatabase
instance will be connected to the server, but is not yet attached.- Specified by:
connect
in interfaceFbDatabaseFactory
- Parameters:
connectionProperties
- Connection properties- Returns:
- Database instance
- Throws:
SQLException
-
serviceConnect
Description copied from interface:FbDatabaseFactory
Connects to the service manager of a Firebird server with the supplied service properties.- Specified by:
serviceConnect
in interfaceFbDatabaseFactory
- Parameters:
serviceProperties
- Service properties- Returns:
- Service instance
- Throws:
SQLException
-
getInstance
-