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 ofFbDatabaseFactoryfor 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 FbWireDatabaseconnect(IConnectionProperties connectionProperties)Connects to a Firebird server based on the supplied connection properties.static FbWireDatabaseFactorygetInstance()FbServiceserviceConnect(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:FbDatabaseFactoryConnects to a Firebird server based on the supplied connection properties.The
FbDatabaseinstance will be connected to the server, but is not yet attached.- Specified by:
connectin 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:FbDatabaseFactoryConnects to the service manager of a Firebird server with the supplied service properties.- Specified by:
serviceConnectin interfaceFbDatabaseFactory- Parameters:
serviceProperties- Service properties- Returns:
- Service instance
- Throws:
java.sql.SQLException
-
getInstance
public static FbWireDatabaseFactory getInstance()
-
-