Name
Connection
Synopsis
A Connection
represents a reference to a physical connection to a
resource. Connections are obtained using the getConnection()
method
on a ConnectionFactory
, and are used to initiate one or more
Interactions
with the target resource.
public interface Connection { // Public Instance Methods public abstract void close() throws ResourceException; public abstract Interaction createInteraction( ) throws ResourceException; public abstract javax.resource.cci.LocalTransaction getLocalTransaction( ) throws ResourceException; public abstract javax.resource.cci.ConnectionMetaData getMetaData( ) throws ResourceException; public abstract ResultSetInfo getResultSetInfo( ) throws ResourceException; }
Returned By
javax.resource.cci.ConnectionFactory.getConnection()
, Interaction.getConnection()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.