| java.lang.Object example.ConnectionFactoryImpl
ConnectionFactoryImpl | public class ConnectionFactoryImpl (Code) | | Application's view of the connection factory. This
class may have any API the connector wants.
Often, it will just create connections.
|
ConnectionFactoryImpl | ConnectionFactoryImpl(ManagedConnectionFactoryImpl mcFactory, ConnectionManager connManager)(Code) | | Create the connection factory, with a reference to
Resin's ConnectionManager interface.
Parameters: mcFactory - the connector's SPI ManagedConnectionFactory Parameters: connManager - Resin's ConnectionManager for allocating connections |
getConnection | public ConnectionImpl getConnection() throws ResourceException(Code) | | Gets an available connection. Something like
getConnection
is the main method most connections factories will implement.
It returns a class specific to the connector.
the user connection facade. |
|
|