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 SummaryConstructors Constructor Description FbWireDatabaseFactory()
 - 
Method SummaryAll 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- 
connectpublic 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 interface- FbDatabaseFactory
- Parameters:
- connectionProperties- Connection properties
- Returns:
- Database instance
- Throws:
- java.sql.SQLException
 
 - 
serviceConnectpublic 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 interface- FbDatabaseFactory
- Parameters:
- serviceProperties- Service properties
- Returns:
- Service instance
- Throws:
- java.sql.SQLException
 
 - 
getInstancepublic static FbWireDatabaseFactory getInstance() 
 
- 
 
-