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 of `FbDatabaseFactory` for the wire protocol implementation.
  Since:
    3.0
  Author:
    Mark Rotteveel

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FbWireDatabaseFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FbWireDatabaseFactory

          public FbWireDatabaseFactory()

  - ### 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 interface `FbDatabaseFactory`
      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 interface `FbDatabaseFactory`
      Parameters:
        `serviceProperties` - Service properties
      Returns:
        Service instance
      Throws:
        `java.sql.SQLException`

    - #### getInstance

          public static FbWireDatabaseFactory getInstance()

Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.