Package org.firebirdsql.jaybird.xca
Interface XcaConnectionManager
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
FBStandAloneConnectionManager
public interface XcaConnectionManager extends java.io.SerializableTheXcaConnectionManagercan be used to modify the configuration of a connection, provide pooling or other behaviour when allocating a new connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirebirdConnectionallocateConnection(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo)Allocates a newFirebirdConnectionbacked by aFBManagedConnectionfrom the specified factory.
-
-
-
Method Detail
-
allocateConnection
FirebirdConnection allocateConnection(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo) throws java.sql.SQLException
Allocates a newFirebirdConnectionbacked by aFBManagedConnectionfrom the specified factory.The returned connection should behave as a new connection, but may be backed by an already established (eg pooled) managed connection.
- Parameters:
managedConnectionFactory- Managed connection factoryconnectionRequestInfo- Specific connection request info- Returns:
- A new
FirebirdConnectioninstance - Throws:
java.sql.SQLException- for generic exceptions
-
-