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 FbWireDatabaseFactoryserviceConnect(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: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:
SQLException
-
serviceConnect
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:
SQLException
-
getInstance
-