Package org.firebirdsql.gds.ng.wire
Class FbWireDatabaseFactory
- java.lang.Object
-
- org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory
-
- All Implemented Interfaces:
FbDatabaseFactory
public final class FbWireDatabaseFactory extends java.lang.Object implements FbDatabaseFactory
Implementation ofFbDatabaseFactory
for the wire protocol implementation.- Since:
- 3.0
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description FbWireDatabaseFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FbWireDatabase
connect(IConnectionProperties connectionProperties)
Connects to a Firebird server based on the supplied connection properties.static FbWireDatabaseFactory
getInstance()
FbService
serviceConnect(IServiceProperties serviceProperties)
Connects to the service manager of a Firebird server with the supplied service properties.
-
-
-
Method Detail
-
connect
public FbWireDatabase connect(IConnectionProperties connectionProperties) throws java.sql.SQLException
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:
java.sql.SQLException
-
serviceConnect
public FbService serviceConnect(IServiceProperties serviceProperties) throws java.sql.SQLException
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:
java.sql.SQLException
-
getInstance
public static FbWireDatabaseFactory getInstance()
-
-