Uses of Interface
jakarta.resource.spi.ManagedConnectionFactory
Package
Description
The jakarta.resource.spi package contains APIs for the system
contracts defined in the Jakarta Connectors specification.
The jakarta.resource.spi.security package contains APIs for the security
management contract.
-
Uses of ManagedConnectionFactory in jakarta.resource.spi
Modifier and TypeMethodDescriptionConnectionManager.allocateConnection
(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) The method allocateConnection gets called by the resource adapter's connection factory instance.void
LazyAssociatableConnectionManager.associateConnection
(Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo) This method is called by a resource adapter (that is capable of lazy connection association optimization) in order to lazily associate a connection object with aManagedConnection
instance.void
LazyAssociatableConnectionManager.inactiveConnectionClosed
(Object connection, ManagedConnectionFactory mcf) This method is called by the resource adapter (that is capable of lazy connection association optimization) in order to notify the application server that a disassociated connection handle is closed. -
Uses of ManagedConnectionFactory in jakarta.resource.spi.security
Modifier and TypeMethodDescriptionPasswordCredential.getManagedConnectionFactory()
Gets the target ManagedConnectionFactory for which the user name and password has been set by the application server.Modifier and TypeMethodDescriptionvoid
PasswordCredential.setManagedConnectionFactory
(ManagedConnectionFactory mcf) Sets the target ManagedConenctionFactory instance for which the user name and password has been set by the application server.