Package org.firebirdsql.gds.ng.jna
Class JnaServiceConnection
- java.lang.Object
- 
- org.firebirdsql.gds.ng.AbstractConnection<T,C>
- 
- org.firebirdsql.gds.ng.jna.JnaConnection<IServiceProperties,JnaService>
- 
- org.firebirdsql.gds.ng.jna.JnaServiceConnection
 
 
 
- 
 public final class JnaServiceConnection extends JnaConnection<IServiceProperties,JnaService> Class handling the initial setup of the JNA service connection.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Field Summary- 
Fields inherited from class org.firebirdsql.gds.ng.AbstractConnectionattachProperties
 
- 
 - 
Constructor SummaryConstructors Constructor Description JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties)Creates a JnaServiceConnection (without establishing a connection to the server).JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties, IEncodingFactory encodingFactory)Creates a JnaServiceConnection (without establishing a connection to the server).
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JnaServiceidentify()Contrary to the description in the super class, this will simply return an unconnected instance.- 
Methods inherited from class org.firebirdsql.gds.ng.jna.JnaConnectiongetAttachUrl, getClientLibrary, processStatusVector
 - 
Methods inherited from class org.firebirdsql.gds.ng.AbstractConnectioncreateDbCryptCallback, getAttachObjectName, getAttachProperties, getEncoding, getEncodingDefinition, getEncodingFactory, getPortNumber, getServerName
 
- 
 
- 
- 
- 
Constructor Detail- 
JnaServiceConnectionpublic JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties) throws java.sql.SQLException Creates a JnaServiceConnection (without establishing a connection to the server).- Parameters:
- clientLibrary- Client library to use
- connectionProperties- Connection properties
- Throws:
- java.sql.SQLException
 
 - 
JnaServiceConnectionpublic JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties, IEncodingFactory encodingFactory) throws java.sql.SQLException Creates a JnaServiceConnection (without establishing a connection to the server).- Parameters:
- clientLibrary- Client library to use
- connectionProperties- Connection properties
- encodingFactory- Factory for encoding definitions
- Throws:
- java.sql.SQLException
 
 
- 
 - 
Method Detail- 
identifypublic JnaService identify() throws java.sql.SQLException Contrary to the description in the super class, this will simply return an unconnected instance.- Specified by:
- identifyin class- AbstractConnection<IServiceProperties,JnaService>
- Returns:
- FbDatabase instance
- Throws:
- java.sql.SQLException
 
 
- 
 
-