Name
ConnectionFactory
Synopsis
A ConnectionFactory
is obtained by a client through a JNDI namespace
lookup, and is used to establish Connections
with a resource.
public interface ConnectionFactory extends Serializable, javax.resource.Referenceable { // Public Instance Methods public abstract javax.resource.cci.Connection getConnection( ) throws ResourceException; public abstract javax.resource.cci.Connection getConnection( ConnectionSpec properties) throws ResourceException; public abstract ResourceAdapterMetaData getMetaData( ) throws ResourceException; public abstract RecordFactory getRecordFactory( ) throws ResourceException; }
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.